| 1 |
var _one, _ref, _undefined, _computed, _computed2, _ref2, _ref3, _baz, _ref4; |
| 2 |
var foo = "foo"; |
| 3 |
var bar = () => {}; |
| 4 |
var four = 4; |
| 5 |
_one = one(); |
| 6 |
_ref = 2 * four + seven; |
| 7 |
_undefined = undefined; |
| 8 |
_computed = computed(); |
| 9 |
_computed2 = computed(); |
| 10 |
_ref2 = "test" + one; |
| 11 |
_ref3 = /regex/; |
| 12 |
_baz = baz; |
| 13 |
_ref4 = `template${expression}`; |
| 14 |
var MyClass = function () { |
| 15 |
"use strict"; |
| 16 |
|
| 17 |
function MyClass() { |
| 18 |
babelHelpers.classCallCheck(this, MyClass); |
| 19 |
this[null] = "null"; |
| 20 |
this[_undefined] = "undefined"; |
| 21 |
this[void 0] = "void 0"; |
| 22 |
this[_ref3] = "regex"; |
| 23 |
this[foo] = "foo"; |
| 24 |
this[bar] = "bar"; |
| 25 |
this[_baz] = "baz"; |
| 26 |
this[`template`] = "template"; |
| 27 |
this[_ref4] = "template-with-expression"; |
| 28 |
} |
| 29 |
babelHelpers.createClass(MyClass, [{ |
| 30 |
key: "whatever", |
| 31 |
get: function () {}, |
| 32 |
set: function (value) {} |
| 33 |
}, { |
| 34 |
key: _computed, |
| 35 |
get: function () {} |
| 36 |
}, { |
| 37 |
key: _computed2, |
| 38 |
set: function (value) {} |
| 39 |
}, { |
| 40 |
key: _ref2, |
| 41 |
value: function () {} |
| 42 |
}], [{ |
| 43 |
key: "10", |
| 44 |
value: function _() {} |
| 45 |
}]); |
| 46 |
return MyClass; |
| 47 |
}(); |
| 48 |
MyClass[_one] = "test"; |
| 49 |
MyClass[2 * 4 + 7] = "247"; |
| 50 |
MyClass[2 * four + 7] = "247"; |
| 51 |
MyClass[_ref] = "247"; |