Spaces:
Runtime error
Runtime error
Download masteringModule/node_modules/object-inspect/test/number.js from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/object-inspect/test/number.js
- Command line
-
hf download hf://spaces/SE-09/HapticsProject@refs/pr/32/masteringModule/node_modules/object-inspect/test/number.js
-
curl -L -o number.js https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/object-inspect/test/number.js
395 Bytes
| var inspect = require('../'); | |
| var test = require('tape'); | |
| test('negative zero', function (t) { | |
| t.equal(inspect(0), '0', 'inspect(0) === "0"'); | |
| t.equal(inspect(Object(0)), 'Object(0)', 'inspect(Object(0)) === "Object(0)"'); | |
| t.equal(inspect(-0), '-0', 'inspect(-0) === "-0"'); | |
| t.equal(inspect(Object(-0)), 'Object(-0)', 'inspect(Object(-0)) === "Object(-0)"'); | |
| t.end(); | |
| }); | |