Extract computed keys from the class closure (#13600)

This commit is contained in:
Nicolò Ribaudo
2021-07-26 23:31:45 +02:00
committed by GitHub
parent 224a35c5c6
commit 790c5180d4
19 changed files with 142 additions and 58 deletions

View File

@@ -1,4 +1,4 @@
var Foo = /*#__PURE__*/function () {
var Foo = /*#__PURE__*/function (_bar, _ref) {
"use strict";
function Foo() {
@@ -11,11 +11,11 @@ var Foo = /*#__PURE__*/function () {
"second";
}
}, {
key: bar,
key: _bar,
value: function value() {}
}, {
key: bar + "foo",
key: _ref,
value: function value() {}
}]);
return Foo;
}();
}(bar, bar + "foo");