Skip to content

Commit

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

PR-URL: nodejs/node#43103
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
tniessen authored and guangwong committed Oct 10, 2022
1 parent 470e457 commit 1bdc035
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 @@ -560,7 +560,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 1bdc035

Please sign in to comment.