Spaces:
Runtime error
Runtime error
Download masteringModule/node_modules/has-symbols/index.js from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/main/masteringModule/node_modules/has-symbols/index.js
- Command line
-
hf download hf://spaces/SE-09/HapticsProject/masteringModule/node_modules/has-symbols/index.js
-
curl -L -o index.js https://huggingface.co/spaces/SE-09/HapticsProject/resolve/main/masteringModule/node_modules/has-symbols/index.js
420 Bytes
| ; | |
| var origSymbol = typeof Symbol !== 'undefined' && Symbol; | |
| var hasSymbolSham = require('./shams'); | |
| 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(); | |
| }; | |