UNPKG
@miniu/core-js
Version:
latest (2.6.12)
2.6.12
Standard library
github.com/zloirock/core-js
zloirock/core-js
@miniu/core-js
/
modules
/
_native-weak-map.js
5 lines
(3 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
var
nativeFunctionToString =
require
(
'./_function-to-string'
);
var
WeakMap
=
require
(
'./_global'
).
WeakMap
;
module
.
exports
=
typeof
WeakMap
===
'function'
&&
/native code/
.
test
(nativeFunctionToString.
call
(
WeakMap
));