lepu-test-platform-web/node_modules/core-js/internals/native-weak-map.js

7 lines
231 B
JavaScript
Raw Normal View History

var global = require('../internals/global');
var inspectSource = require('../internals/inspect-source');
var WeakMap = global.WeakMap;
module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));