UNPKG
qtsd-fork
Version:
latest (0.0.2)
0.0.2
0.0.1
Do not use this please
qtsd-fork
/
example
/
node_modules
/
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
));