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

18 lines
401 B
JavaScript

var _x = babelHelpers.classPrivateFieldLooseKey("x");
var _y = babelHelpers.classPrivateFieldLooseKey("y");
var Foo = function Foo() {
"use strict";
babelHelpers.classCallCheck(this, Foo);
Object.defineProperty(this, _x, {
writable: true,
value: 0
});
Object.defineProperty(this, _y, {
writable: true,
value: babelHelpers.classPrivateFieldLooseBase(this, _x)[_x]
});
};