Fix some test fixtures (#11655)
This commit is contained in:
parent
30d7236397
commit
3a3457d808
@ -4,6 +4,12 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -71,12 +77,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,12 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -71,12 +77,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,10 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -71,10 +75,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,10 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -71,10 +75,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,12 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -74,12 +80,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,12 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -74,12 +80,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,12 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -74,12 +80,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,12 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -74,12 +80,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _m = _classPrivateFieldLooseKey("m");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,10 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -74,10 +78,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -4,6 +4,10 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
class Foo {
|
||||
static getSelf() {
|
||||
return this;
|
||||
@ -74,10 +78,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _x = _classPrivateFieldLooseKey("x");
|
||||
|
||||
var _self = _classPrivateFieldLooseKey("self");
|
||||
|
||||
Object.defineProperty(Foo, _x, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -18,6 +20,4 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _get_foo = function () {};
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -17,5 +19,3 @@ let Foo = /*#__PURE__*/function () {
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -17,6 +19,4 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _bar = new WeakMap();
|
||||
|
||||
class Foo {
|
||||
constructor() {
|
||||
_bar.set(this, {
|
||||
@ -16,8 +18,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _bar = new WeakMap();
|
||||
|
||||
var _foo = {
|
||||
writable: true,
|
||||
value: "foo"
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _bar = babelHelpers.classPrivateFieldLooseKey("bar");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -16,6 +20,8 @@ let Foo = /*#__PURE__*/function () {
|
||||
babelHelpers.createClass(Foo, [{
|
||||
key: "test",
|
||||
value: function test() {
|
||||
var _bar2 = babelHelpers.classPrivateFieldLooseKey("bar");
|
||||
|
||||
let Nested = /*#__PURE__*/function () {
|
||||
function Nested() {
|
||||
babelHelpers.classCallCheck(this, Nested);
|
||||
@ -35,15 +41,9 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Nested;
|
||||
}();
|
||||
|
||||
var _bar2 = babelHelpers.classPrivateFieldLooseKey("bar");
|
||||
|
||||
Object.prototype.hasOwnProperty.call(this, _foo);
|
||||
Object.prototype.hasOwnProperty.call(this, _bar);
|
||||
}
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _bar = babelHelpers.classPrivateFieldLooseKey("bar");
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -12,6 +14,8 @@ let Foo = /*#__PURE__*/function () {
|
||||
babelHelpers.createClass(Foo, [{
|
||||
key: "test",
|
||||
value: function test() {
|
||||
var _foo2 = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Nested = /*#__PURE__*/function () {
|
||||
function Nested() {
|
||||
babelHelpers.classCallCheck(this, Nested);
|
||||
@ -30,12 +34,8 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Nested;
|
||||
}();
|
||||
|
||||
var _foo2 = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
Object.prototype.hasOwnProperty.call(this, _foo);
|
||||
}
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -31,5 +33,3 @@ let Foo = /*#__PURE__*/function () {
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -14,8 +16,6 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _get_foo = function () {};
|
||||
|
||||
Object.defineProperty(Foo, _foo, {
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -14,8 +16,6 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
Object.defineProperty(Foo, _foo, {
|
||||
writable: true,
|
||||
value: 1
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -14,8 +16,6 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
Object.defineProperty(Foo, _foo, {
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = new WeakMap();
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -19,6 +21,4 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = new WeakMap();
|
||||
|
||||
var _get_foo = function () {};
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = new WeakMap();
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -18,5 +20,3 @@ let Foo = /*#__PURE__*/function () {
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = new WeakMap();
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = new WeakSet();
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -16,6 +18,4 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = new WeakSet();
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _bar = new WeakMap();
|
||||
|
||||
class Foo {
|
||||
constructor() {
|
||||
_bar.set(this, {
|
||||
@ -16,8 +18,6 @@ class Foo {
|
||||
|
||||
}
|
||||
|
||||
var _bar = new WeakMap();
|
||||
|
||||
var _foo = {
|
||||
writable: true,
|
||||
value: "foo"
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
var _foo = new WeakMap();
|
||||
|
||||
var _bar = new WeakMap();
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -18,6 +22,8 @@ let Foo = /*#__PURE__*/function () {
|
||||
babelHelpers.createClass(Foo, [{
|
||||
key: "test",
|
||||
value: function test() {
|
||||
var _bar2 = new WeakMap();
|
||||
|
||||
let Nested = /*#__PURE__*/function () {
|
||||
function Nested() {
|
||||
babelHelpers.classCallCheck(this, Nested);
|
||||
@ -39,8 +45,6 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Nested;
|
||||
}();
|
||||
|
||||
var _bar2 = new WeakMap();
|
||||
|
||||
_foo.has(this);
|
||||
|
||||
_bar.has(this);
|
||||
@ -48,7 +52,3 @@ let Foo = /*#__PURE__*/function () {
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = new WeakMap();
|
||||
|
||||
var _bar = new WeakMap();
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = new WeakMap();
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -13,6 +15,8 @@ let Foo = /*#__PURE__*/function () {
|
||||
babelHelpers.createClass(Foo, [{
|
||||
key: "test",
|
||||
value: function test() {
|
||||
var _foo2 = new WeakMap();
|
||||
|
||||
let Nested = /*#__PURE__*/function () {
|
||||
function Nested() {
|
||||
babelHelpers.classCallCheck(this, Nested);
|
||||
@ -32,12 +36,8 @@ let Foo = /*#__PURE__*/function () {
|
||||
return Nested;
|
||||
}();
|
||||
|
||||
var _foo2 = new WeakMap();
|
||||
|
||||
_foo.has(this);
|
||||
}
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = new WeakMap();
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
var _foo = new WeakMap();
|
||||
|
||||
let Foo = /*#__PURE__*/function () {
|
||||
"use strict";
|
||||
|
||||
@ -32,5 +34,3 @@ let Foo = /*#__PURE__*/function () {
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
|
||||
var _foo = new WeakMap();
|
||||
|
||||
@ -2,6 +2,8 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
Object.defineProperty(this, _foo, {
|
||||
@ -12,6 +14,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -2,6 +2,8 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
Object.defineProperty(this, _foo, {
|
||||
@ -12,6 +14,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
var _foo = new WeakSet();
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
_foo.add(this);
|
||||
@ -9,6 +11,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = new WeakSet();
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -2,6 +2,8 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
Object.defineProperty(this, _foo, {
|
||||
@ -12,6 +14,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
var _foo = new WeakSet();
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
_foo.add(this);
|
||||
@ -9,6 +11,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = new WeakSet();
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -2,6 +2,8 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
Object.defineProperty(this, _foo, {
|
||||
@ -12,6 +14,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -2,6 +2,8 @@ var id = 0;
|
||||
|
||||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
Object.defineProperty(this, _foo, {
|
||||
@ -12,6 +14,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = _classPrivateFieldLooseKey("foo");
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
var _foo = new WeakSet();
|
||||
|
||||
class A {
|
||||
constructor() {
|
||||
_foo.add(this);
|
||||
@ -9,6 +11,4 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
var _foo = new WeakSet();
|
||||
|
||||
var _foo2 = function _foo2() {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user