JavaScript File
JS files contain JavaScript code that runs in web browsers or on servers (Node.js).
How to open a .js file
- Web browsers
- Node.js
- Code editors
Common uses
- Website interactivity
- Web applications
- Server-side scripts
Technical details
| MIME type | application/javascript |
|---|---|
| Category | Code |
| Platforms | All modern devices |
Info on this page is for general guidance and may vary depending on the software version or platform.