Spaces:
Runtime error
Runtime error
Download masteringModule/node_modules/has/test/index.js from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F22/masteringModule/node_modules/has/test/index.js
- Command line
-
hf download hf://spaces/SE-09/HapticsProject@refs/pr/22/masteringModule/node_modules/has/test/index.js
-
curl -L -o index.js https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F22/masteringModule/node_modules/has/test/index.js
331 Bytes
| ; | |
| var test = require('tape'); | |
| var has = require('../'); | |
| test('has', function (t) { | |
| t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"'); | |
| t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"'); | |
| t.end(); | |
| }); | |