mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +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));
|