Skip to content

Commit 985b608

Browse files
authored
doc: fix double space in modules.md
Signed-off-by: Daijiro Wachi <daijiro.wachi@gmail.com> PR-URL: #63512 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c9562dd commit 985b608

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ console.log(distance); // undefined
286286
```
287287

288288
Notice in the example above, when the `module.exports` export name is used, named exports
289-
will be lost to CommonJS consumers. To allow CommonJS consumers to continue accessing
289+
will be lost to CommonJS consumers. To allow CommonJS consumers to continue accessing
290290
named exports, the module can make sure that the default export is an object with the
291291
named exports attached to it as properties. For example with the example above,
292292
`distance` can be attached to the default export, the `Point` class, as a static method.

0 commit comments

Comments
 (0)