Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/5/SameValue.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/5/SameValue.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/5/SameValue.js
-
curl -L -o SameValue.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/5/SameValue.js
307 Bytes
| ; | |
| var $isNaN = require('../helpers/isNaN'); | |
| // http://262.ecma-international.org/5.1/#sec-9.12 | |
| module.exports = function SameValue(x, y) { | |
| if (x === y) { // 0 === -0, but they are not identical. | |
| if (x === 0) { return 1 / x === 1 / y; } | |
| return true; | |
| } | |
| return $isNaN(x) && $isNaN(y); | |
| }; | |