summaryrefslogtreecommitdiff
path: root/doc/api/modules.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/modules.md')
-rw-r--r--doc/api/modules.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index 65f57314cc..d40f25d0a9 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -558,7 +558,8 @@ object, it is common to also reassign `exports`, for example:
```js
module.exports = exports = function Constructor() {
- // ... etc.
+ // ... etc.
+};
```
To illustrate the behavior, imagine this hypothetical implementation of