Skip to content

Commit 638c8a3

Browse files
cjihrigtargos
authored andcommitted
doc: small grammar correction
This commit improves the grammar of one sentence in the ESM documentation. PR-URL: #28669 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent df0f42a commit 638c8a3

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)