debian-mirror-gitlab/core-js/internals/native-weak-map.js
2019-12-04 20:38:33 +05:30

6 lines
231 B
JavaScript

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));