diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/esm.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md index bed1dd7b92..e81a69c6ed 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -98,7 +98,7 @@ representing the value of `module.exports` at the time they finished evaluating. // foo.js module.exports = { one: 1 }; -// bar.js +// bar.mjs import foo from './foo.js'; foo.one === 1; // true ``` |