Test files › Web and text formats › script.js
Sample JavaScript file (script)
A small ES module using modern syntax (arrow functions, template literals, async/await).
↓ Download script.js| Filename | script.js |
| Format | JavaScript |
| Size | 280 bytes (280 bytes) |
| MIME type | application/octet-stream |
| SHA-256 | 6e3cfd965abc322f3a9997fb3cec7943ba33373fe6ccd43adf6f7dee71af2eab |
What this file catchesJS parsers, bundlers and transpilers. Uses ES2017+ features so it catches tooling stuck on older syntax.
Download & verify
curl -fsSL -o "script.js" "https://files.hexaqa.com/web/script.js"
curl -fsSL "https://files.hexaqa.com/web/script.js" | sha256sum
# expect: 6e3cfd965abc322f3a9997fb3cec7943ba33373fe6ccd43adf6f7dee71af2eab