* 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)
12 lines
156 B
JavaScript
12 lines
156 B
JavaScript
export default param =>
|
|
class App {
|
|
static props = {
|
|
prop1: 'prop1',
|
|
prop2: 'prop2'
|
|
}
|
|
|
|
getParam() {
|
|
return param;
|
|
}
|
|
}
|