This commit is contained in:
how2ice
2025-08-14 23:34:11 +09:00
commit 44cca8f122
2224 changed files with 113884 additions and 0 deletions

14
node_modules/has-symbols/index.js generated vendored Executable file
View File

@@ -0,0 +1,14 @@
'use strict';
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
var hasSymbolSham = require('./shams');
/** @type {import('.')} */
module.exports = function hasNativeSymbols() {
if (typeof origSymbol !== 'function') { return false; }
if (typeof Symbol !== 'function') { return false; }
if (typeof origSymbol('foo') !== 'symbol') { return false; }
if (typeof Symbol('bar') !== 'symbol') { return false; }
return hasSymbolSham();
};