summaryrefslogtreecommitdiff
path: root/doc/api/esm.md
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-07-13 11:49:23 -0400
committercjihrig <cjihrig@gmail.com>2019-07-15 13:19:46 -0400
commit440a344f68656c8056f9a1195a892fa425d761ec (patch)
tree14148141cee77fe5df13974904d9d1962857ae74 /doc/api/esm.md
parent0796f0e268f4eef6c13280c9df679131db5d6b86 (diff)
downloadandroid-node-v8-440a344f68656c8056f9a1195a892fa425d761ec.tar.gz
android-node-v8-440a344f68656c8056f9a1195a892fa425d761ec.tar.bz2
android-node-v8-440a344f68656c8056f9a1195a892fa425d761ec.zip
doc: small grammar correction
This commit improves the grammar of one sentence in the ESM documentation. PR-URL: https://github.com/nodejs/node/pull/28669 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/esm.md')
-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';