securityos/node_modules/core-js/modules/_native-weak-map.js

5 lines
216 B
JavaScript

var nativeFunctionToString = require('./_function-to-string');
var WeakMap = require('./_global').WeakMap;
module.exports = typeof WeakMap === 'function' && /native code/.test(nativeFunctionToString.call(WeakMap));