doc: clarify relation between a file and a module

PR-URL: https://github.com/nodejs/node/pull/9026
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
marzelin authored and Evan Lucas committed 2016-11-03 05:17:36 -05:00
1 parent 4f0596fb03
commit 3f90481e20
1 file changed
+3 -3
+3 -3
View File
@@ -4,9 +4,9 @@
<!--name=module-->
Node.js has a simple module loading system. In Node.js, files and modules are
in one-to-one correspondence. As an example, `foo.js` loads the module
`circle.js` in the same directory.
Node.js has a simple module loading system. In Node.js, files and modules
are in one-to-one correspondence (each file is treated as a separate module).
As an example, `foo.js` loads the module `circle.js` in the same directory.
The contents of `foo.js`: