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

20 lines
295 B
JavaScript

var _x = new WeakMap();
var _y = new WeakMap();
var Foo = function Foo() {
"use strict";
babelHelpers.classCallCheck(this, Foo);
_x.set(this, {
writable: true,
value: 0
});
_y.set(this, {
writable: true,
value: babelHelpers.classPrivateFieldGet(this, _x)
});
};