Skip to content

Commit

Permalink
doc: use serial comma in modules docs
Browse files Browse the repository at this point in the history
Refs: #11321
Refs: #17384

PR-URL: #43103
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
tniessen authored May 14, 2022
1 parent 8c800d7 commit 74cf01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ wrapper that looks like the following:

By doing this, Node.js achieves a few things:

* It keeps top-level variables (defined with `var`, `const` or `let`) scoped to
* It keeps top-level variables (defined with `var`, `const`, or `let`) scoped to
the module rather than the global object.
* It helps to provide some global-looking variables that are actually specific
to the module, such as:
Expand Down

0 comments on commit 74cf01a

Please sign in to comment.