Spaces:
Configuration error
Configuration error
Download node_modules/deep-is/test/neg-vs-pos-0.js from CPISTO/TARSTHENEXT: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/node_modules/deep-is/test/neg-vs-pos-0.js
- Command line
-
hf download hf://spaces/CPISTO/TARSTHENEXT/node_modules/deep-is/test/neg-vs-pos-0.js
-
curl -L -o neg-vs-pos-0.js https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/node_modules/deep-is/test/neg-vs-pos-0.js
343 Bytes
| var test = require('tape'); | |
| var equal = require('../'); | |
| test('0 values', function (t) { | |
| t.ok(equal( 0, 0), ' 0 === 0'); | |
| t.ok(equal( 0, +0), ' 0 === +0'); | |
| t.ok(equal(+0, +0), '+0 === +0'); | |
| t.ok(equal(-0, -0), '-0 === -0'); | |
| t.notOk(equal(-0, 0), '-0 !== 0'); | |
| t.notOk(equal(-0, +0), '-0 !== +0'); | |
| t.end(); | |
| }); | |