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>
This commit is contained in:
cjihrig 2019-07-13 11:49:23 -04:00
parent 0796f0e268
commit 440a344f68
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -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';