Skip to content

Commit 440a344

Browse files
committed
doc: small grammar correction
This commit improves the grammar of one sentence in the ESM documentation. PR-URL: #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>
1 parent 0796f0e commit 440a344

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/esm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ These CommonJS variables are not available in ES modules.
278278

279279
`require` can be imported into an ES module using [`module.createRequire()`][].
280280

281-
An equivalent for variable `__filename` and `__dirname` can be created inside
282-
each file with [`import.meta.url`][].
281+
Equivalents of `__filename` and `__dirname` can be created inside of each file
282+
via [`import.meta.url`][].
283283

284284
```js
285285
import { fileURLToPath } from 'url';

0 commit comments

Comments
 (0)