Skip to content

Commit 0f41058

Browse files
marzelinMyles Borins
authored and
Myles Borins
committed
doc: clarify relation between a file and a module
PR-URL: #9026 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent bf25994 commit 0f41058

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/modules.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
55
<!--name=module-->
66

7-
Node.js has a simple module loading system. In Node.js, files and modules are
8-
in one-to-one correspondence. As an example, `foo.js` loads the module
9-
`circle.js` in the same directory.
7+
Node.js has a simple module loading system. In Node.js, files and modules
8+
are in one-to-one correspondence (each file is treated as a separate module).
9+
As an example, `foo.js` loads the module `circle.js` in the same directory.
1010

1111
The contents of `foo.js`:
1212

0 commit comments

Comments
 (0)