Add a check for privateMap's existence (#11571)

Co-authored-by: Ajay Poshak <ajay.poshak@bookmyshow.com>
This commit is contained in:
Ajay Poshak
2020-05-31 02:08:15 +05:30
committed by GitHub
parent cd9c71c5b3
commit b1923fd140
117 changed files with 332 additions and 333 deletions

View File

@@ -1,3 +1,5 @@
var _client = new WeakMap();
var Foo = function Foo(props) {
"use strict";
@@ -10,5 +12,3 @@ var Foo = function Foo(props) {
[babelHelpers.classPrivateFieldDestructureSet(this, _client).value] = props;
};
var _client = new WeakMap();