aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/esm.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 8b7b632f1c..74d818946e 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -278,8 +278,8 @@ These CommonJS variables are not available in ES modules.
`require` can be imported into an ES module using [`module.createRequire()`][].
-An equivalent for variable `__filename` and `__dirname` can be created inside
-each file with [`import.meta.url`][].
+Equivalents of `__filename` and `__dirname` can be created inside of each file
+via [`import.meta.url`][].
```js
import { fileURLToPath } from 'url';