no message

This commit is contained in:
A1300399510
2025-02-20 19:19:59 +08:00
parent cc70fe2405
commit 0e1e9f79cc
425 changed files with 3823 additions and 86265 deletions

View File

@@ -1,14 +0,0 @@
'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();
};