diff options
author | cjihrig <cjihrig@gmail.com> | 2019-07-13 11:49:23 -0400 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-07-20 11:13:03 +0200 |
commit | 638c8a394cfc6547ecc9bec6397f87b9ca8d513c (patch) | |
tree | 99ecde25f010130541f38a5ca6cad3bf974d6925 /doc | |
parent | df0f42ab7fe10d9cbbf5a9b916a45932aa4ddfbf (diff) | |
download | android-node-v8-638c8a394cfc6547ecc9bec6397f87b9ca8d513c.tar.gz android-node-v8-638c8a394cfc6547ecc9bec6397f87b9ca8d513c.tar.bz2 android-node-v8-638c8a394cfc6547ecc9bec6397f87b9ca8d513c.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')
-rw-r--r-- | doc/api/esm.md | 4 |
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'; |