weak-map-basic-detection.js 208 B

123456
  1. var global = require('../internals/global');
  2. var isCallable = require('../internals/is-callable');
  3. var WeakMap = global.WeakMap;
  4. module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));