About
A Javascript script is script file with a js extension.
Type
Browser
A browser script is a run that is run by the browser where Javascript is:
- in a page via the script element: Browser - Javascript
- in a browser extension created by user: Browser - Userscript (user.js)
In browser, the following javascript features are implemented:
- and the Web API (browser API)
Node
A node script runs in Node (ie on the server or on a laptop)
In Node, the following javascript features are implemented:
- and the Node Api (File System, …)
Other engine
Or in any other engine