Spaces:
Running
Running
Download node_modules/JSV/jsdoc-toolkit/app/test/static_this.js from k-l-lambda/lotus: direct link, hf CLI and curl.
- Browser
- Download file 185 Bytes
-
https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/JSV/jsdoc-toolkit/app/test/static_this.js
- Command line
-
hf download hf://spaces/k-l-lambda/lotus/node_modules/JSV/jsdoc-toolkit/app/test/static_this.js
-
curl -L -o static_this.js https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/JSV/jsdoc-toolkit/app/test/static_this.js
185 Bytes
| /** the parent */ | |
| var box = {}; | |
| /** @namespace */ | |
| box.holder = {} | |
| box.holder.foo = function() { | |
| /** the counter */ | |
| this.counter = 1; | |
| } | |
| box.holder.foo(); | |
| print(box.holder.counter); | |