| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,11 @@ | |||
| 6 | 6 | ||
| 7 | 7 | <!--name=module--> | |
| 8 | 8 | ||
| 9 | - In the Node.js module system, each file is treated as a separate module. For | ||
| 9 | + CommonJS modules are the original way to package JavaScript code for Node.js. | ||
| 10 | + Node.js also supports the [ECMAScript modules][] standard used by browsers | ||
| 11 | + and other JavaScript runtimes. | ||
| 12 | + | ||
| 13 | + In Node.js, each file is treated as a separate module. For | ||
| 10 | 14 | example, consider a file named `foo.js`: | |
| 11 | 15 | ||
| 12 | 16 | ```js | |
| Back | FazBrowse Home | New Git URL |
0 commit comments