Spaces:
Configuration error
Configuration error
Download sessions/node_modules/has-symbols/index.js from CPISTO/TARSTHENEXT: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/sessions/node_modules/has-symbols/index.js
- Command line
-
hf download hf://spaces/CPISTO/TARSTHENEXT/sessions/node_modules/has-symbols/index.js
-
curl -L -o index.js https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/sessions/node_modules/has-symbols/index.js
447 Bytes
| ; | |
| 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(); | |
| }; | |