* destructuring private fields with array pattern / object pattern * wip: new test cases * destrucuring and rest for private properties * test case for loose private-loose * add transform-desturcturing for exec * update test case * remove getPrototypeOf imports from get and set * wip: destructure super assignment * throw "Destructuring to a super field is not supported yet." * fix tests and fix assignment pattern * remove CallExpression from AssignmentPattern
17 lines
202 B
JavaScript
17 lines
202 B
JavaScript
var Foo =
|
|
/*#__PURE__*/
|
|
function () {
|
|
"use strict";
|
|
|
|
function Foo() {}
|
|
|
|
var _proto = Foo.prototype;
|
|
|
|
_proto.foo = function foo(props) {
|
|
;
|
|
[this.client] = props;
|
|
};
|
|
|
|
return Foo;
|
|
}();
|