Download web/node_modules/es-errors/test/index.js from Amitkumar001/Law_Slm: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/es-errors/test/index.js
- Command line
-
hf download hf://Amitkumar001/Law_Slm/web/node_modules/es-errors/test/index.js
-
curl -L -o index.js https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/es-errors/test/index.js
356 Bytes
| ; | |
| var test = require('tape'); | |
| var E = require('../'); | |
| var R = require('../range'); | |
| var Ref = require('../ref'); | |
| var S = require('../syntax'); | |
| var T = require('../type'); | |
| test('errors', function (t) { | |
| t.equal(E, Error); | |
| t.equal(R, RangeError); | |
| t.equal(Ref, ReferenceError); | |
| t.equal(S, SyntaxError); | |
| t.equal(T, TypeError); | |
| t.end(); | |
| }); | |