* Private Static Class Fields Implementation * Redo testing without class transform for static private * Add a call() test for private static * Use Object.defineProperty in loose mode
11 lines
279 B
JavaScript
11 lines
279 B
JavaScript
export class MyClass {}
|
|
|
|
var _MyClassStatics = Object.create(null);
|
|
|
|
babelHelpers.defineProperty(_MyClassStatics, "property", value);
|
|
export default class MyClass2 {}
|
|
|
|
var _MyClass2Statics = Object.create(null);
|
|
|
|
babelHelpers.defineProperty(_MyClass2Statics, "property", value);
|