mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 22:33:17 +00:00
7 lines
231 B
JavaScript
7 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));
|