Spaces:
Runtime error
Runtime error
Download node_modules/has/test/index.js from fffiloni/controlnet-animation-doodle: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/fffiloni/controlnet-animation-doodle/resolve/main/node_modules/has/test/index.js
- Command line
-
hf download hf://spaces/fffiloni/controlnet-animation-doodle/node_modules/has/test/index.js
-
curl -L -o index.js https://huggingface.co/spaces/fffiloni/controlnet-animation-doodle/resolve/main/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(); | |
| }); | |