From f825ed60b7f7cd5ae750bd4462b1e6b9dfa4fa82 Mon Sep 17 00:00:00 2001 From: Andy Harrison Date: Wed, 30 Oct 2019 12:16:57 -0400 Subject: [PATCH] - remove extraneous variables & functions --- src/Class.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Class.js b/src/Class.js index 8ac665b..65ca3be 100644 --- a/src/Class.js +++ b/src/Class.js @@ -5,10 +5,7 @@ "use strict"; - const PRIVATE = 4, PROTECTED = 2, STATIC = 1; - - let _initializing = false, - _scopes = new WeakMap(); + let _initializing = false; /*** helper functions ***/ @@ -23,7 +20,6 @@ //checks if the specified classname is valid (note: this doesn't check for reserved words) return className !== (void 0) && /^[a-z_$][a-z0-9_$]*$/i.test(className); } - function xor(a, b){ return !!(a ? !b : b); } /*** shared functions ***/