* add transform-class-properties to stage 3, set spec mode to default * update readme with examples; use `buildUndefinedNode()`; change behavior to always define both static and nonstatic class properties regardless of spec/loose mode; update tests
9 lines
177 B
JavaScript
9 lines
177 B
JavaScript
var Foo = function Foo() {
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
Object.defineProperty(this, "bar", {
|
|
enumerable: true,
|
|
writable: true,
|
|
value: void 0
|
|
});
|
|
};
|