jiangping
2025-04-21 ebb2c8d515ef3756fb6634814f824f5dd5dd22c4
1
2
3
4
5
6
7
'use strict';
var globalThis = require('../internals/global-this');
var isCallable = require('../internals/is-callable');
 
var WeakMap = globalThis.WeakMap;
 
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));