* Define class elements in the correct order * Object.gOPDescriptors is not available on Node.js 6 * Handle numeric keys * Update test * Update fixtures
7 lines
82 B
JavaScript
7 lines
82 B
JavaScript
class Foo {
|
|
foo() {}
|
|
"foo"() { "second" }
|
|
[bar]() {}
|
|
[bar + "foo"]() {}
|
|
}
|