* Update member-expression-to-functions 1. Babel using British spellings, so `memoise` 2. Provide a helper `AssignmentMemoiser` class, which will assign the memo'd value with the `n`th access. * Private properties! * Fixes * Tests * Update helper name * Fix privates that reference other privates * Don't extend a builtin * Rebase
22 lines
451 B
JavaScript
22 lines
451 B
JavaScript
var Foo =
|
|
/*#__PURE__*/
|
|
function (_Bar) {
|
|
"use strict";
|
|
|
|
function Foo() {
|
|
var _this;
|
|
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
_this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
|
|
|
_bar.set(babelHelpers.assertThisInitialized(babelHelpers.assertThisInitialized(_this)), "foo");
|
|
|
|
return _this;
|
|
}
|
|
|
|
babelHelpers.inherits(Foo, _Bar);
|
|
return Foo;
|
|
}(Bar);
|
|
|
|
var _bar = new WeakMap();
|