@@ -61,8 +61,8 @@ The module system is implemented in the `require("module")` module.
6161
6262<!-- type=misc-->
6363
64- When there are circular ` require() ` calls, a module might not be
65- done being executed when it is returned.
64+ When there are circular ` require() ` calls, a module might not have finished
65+ executing when it is returned.
6666
6767Consider this situation:
6868
@@ -93,7 +93,7 @@ Consider this situation:
9393
9494When ` main.js ` loads ` a.js ` , then ` a.js ` in turn loads ` b.js ` . At that
9595point, ` b.js ` tries to load ` a.js ` . In order to prevent an infinite
96- loop an ** unfinished copy** of the ` a.js ` exports object is returned to the
96+ loop, an ** unfinished copy** of the ` a.js ` exports object is returned to the
9797` b.js ` module. ` b.js ` then finishes loading, and its ` exports ` object is
9898provided to the ` a.js ` module.
9999
@@ -248,7 +248,7 @@ a global but rather local to each module.
248248* {Object}
249249
250250The ` module.exports ` object is created by the Module system. Sometimes this is not
251- acceptable; many want their module to be an instance of some class. To do this
251+ acceptable; many want their module to be an instance of some class. To do this,
252252assign the desired export object to ` module.exports ` . Note that assigning the
253253desired object to ` exports ` will simply rebind the local ` exports ` variable,
254254which is probably not what you want to do.
0 commit comments