Ajay Poshak b1923fd140
Add a check for privateMap's existence (#11571)
Co-authored-by: Ajay Poshak <ajay.poshak@bookmyshow.com>
2020-05-30 22:38:15 +02:00

16 lines
444 B
JavaScript

var _client = new WeakMap();
var Foo = function Foo(props) {
"use strict";
babelHelpers.classCallCheck(this, Foo);
_client.set(this, {
writable: true,
value: void 0
});
babelHelpers.classPrivateFieldSet(this, _client, 1);
[this.x = babelHelpers.classPrivateFieldGet(this, _client), babelHelpers.classPrivateFieldDestructureSet(this, _client).value, this.y = babelHelpers.classPrivateFieldGet(this, _client)] = props;
};