* Desugar class properties to Object.defineProperty per spec * Define uninitialized static class properties with value=undefined * Make class-properties increased spec compliance opt-in (spec: true)
10 lines
210 B
JavaScript
10 lines
210 B
JavaScript
var _class, _temp;
|
|
|
|
var Foo = (_temp = _class = function Foo() {
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
}, Object.defineProperty(_class, "num", {
|
|
enumerable: true,
|
|
writable: true,
|
|
value: 0
|
|
}), _temp);
|