2021-07-26 23:31:45 +02:00

58 lines
1.2 KiB
JavaScript

var _one, _ref, _undefined, _computed, _computed2, _ref2, _ref3, _baz, _ref4;
var foo = "foo";
var bar = () => {};
var four = 4;
_one = one();
_ref = 2 * four + seven;
_undefined = undefined;
_computed = computed();
_computed2 = computed();
_ref2 = "test" + one;
_ref3 = /regex/;
_baz = baz;
_ref4 = `template${expression}`;
var MyClass = /*#__PURE__*/function (_computed3, _computed4, _ref5) {
"use strict";
function MyClass() {
babelHelpers.classCallCheck(this, MyClass);
this[null] = "null";
this[_undefined] = "undefined";
this[void 0] = "void 0";
this[_ref3] = "regex";
this[foo] = "foo";
this[bar] = "bar";
this[_baz] = "baz";
this[`template`] = "template";
this[_ref4] = "template-with-expression";
}
babelHelpers.createClass(MyClass, [{
key: "whatever",
get: function () {},
set: function (value) {}
}, {
key: _computed3,
get: function () {}
}, {
key: _computed4,
set: function (value) {}
}, {
key: _ref5,
value: function () {}
}], [{
key: "10",
value: function _() {}
}]);
return MyClass;
}(_computed, _computed2, _ref2);
MyClass[_one] = "test";
MyClass[2 * 4 + 7] = "247";
MyClass[2 * four + 7] = "247";
MyClass[_ref] = "247";