Skip to content

Commit e3e5c2b

Browse files
docs: clarify file extension for module type (#8697)
1 parent a50cc89 commit e3e5c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ server.listen(port, hostname, () => {
5959
```
6060

6161
To run this snippet, save it as a `server.js` file and run `node server.js` in your terminal.
62-
If you use mjs version of the code, you should save it as a `server.mjs` file and run `node server.mjs` in your terminal.
62+
If you use the ESM version of the code, you should save it as a `server.mjs` file and run `node server.mjs` in your terminal.
6363

6464
This code first includes the Node.js [`http` module](https://nodejs.org/api/http.html).
6565

0 commit comments

Comments
 (0)