mirror of https://github.com/nodejs/node.git
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:
parent
8c800d7102
commit
74cf01a8e8
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue