Nicolò Ribaudo 60ef190d05
Define class elements in the correct order (#12723)
* Define class elements in the correct order

* Object.gOPDescriptors is not available on Node.js 6

* Handle numeric keys

* Update test

* Update fixtures
2021-02-02 02:22:16 +01:00

6 lines
63 B
JavaScript

class A {
get [x]() {}
[(x = 2, 3)]() {}
set [x](_) {}
}