mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: use serial comma in modules docs
Refs: https://github.com/nodejs/node/pull/11321 Refs: https://github.com/nodejs/node/pull/17384 PR-URL: https://github.com/nodejs/node/pull/43103 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user