mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +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));
|