aboutsummaryrefslogtreecommitdiff
path: root/doc/api/modules.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/modules.md')
-rw-r--r--doc/api/modules.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index bffea8db7e..6225f41cad 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -492,14 +492,14 @@ 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
+* It helps to provide some global-looking variables that are actually specific
to the module, such as:
- - The `module` and `exports` objects that the implementor can use to export
- values from the module.
- - The convenience variables `__filename` and `__dirname`, containing the
- module's absolute filename and directory path.
+ * The `module` and `exports` objects that the implementor can use to export
+ values from the module.
+ * The convenience variables `__filename` and `__dirname`, containing the
+ module's absolute filename and directory path.
## The module scope