native-weak-map.js 275 B

1234567
  1. var global = require('../internals/global');
  2. var isCallable = require('../internals/is-callable');
  3. var inspectSource = require('../internals/inspect-source');
  4. var WeakMap = global.WeakMap;
  5. module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));