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 <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
tniessen authored and BethGriggs committed May 16, 2022
1 parent 7c4df42 commit 9629c74
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 9629c74

Please sign in to comment.