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

22 lines
361 B
JavaScript

var Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {
babelHelpers.classCallCheck(this, Foo);
}
babelHelpers.createClass(Foo, [{
key: "foo",
value: function foo() {
"second";
}
}, {
key: bar,
value: function value() {}
}, {
key: bar + "foo",
value: function value() {}
}]);
return Foo;
}();