Spaces:
Runtime error
Runtime error
Download masteringModule/node_modules/object-inspect/test/undef.js from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 302 Bytes
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/object-inspect/test/undef.js
- Command line
-
hf download hf://spaces/SE-09/HapticsProject@refs/pr/32/masteringModule/node_modules/object-inspect/test/undef.js
-
curl -L -o undef.js https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/object-inspect/test/undef.js
302 Bytes
| var test = require('tape'); | |
| var inspect = require('../'); | |
| var obj = { a: 1, b: [3, 4, undefined, null], c: undefined, d: null }; | |
| test('undef and null', function (t) { | |
| t.plan(1); | |
| t.equal( | |
| inspect(obj), | |
| '{ a: 1, b: [ 3, 4, undefined, null ], c: undefined, d: null }' | |
| ); | |
| }); | |