Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Sep 6, 2024
1 parent 99b23b3 commit e8e07f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ const { distance } = require('./point.mjs');
console.log(distance); // [Function: distance]
```


If the module being `require()`'d contains top-level `await`, or the module
graph it `import`s contains top-level `await`,
[`ERR_REQUIRE_ASYNC_MODULE`][] will be thrown. In this case, users should
Expand Down

0 comments on commit e8e07f0

Please sign in to comment.