doc: fix file extension on ESM file example

PR-URL: https://github.com/nodejs/node/pull/25692
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Eric Whitebloom authored and Anna Henningsen committed 2019-01-28 18:39:18 +01:00
1 parent b218b1204a
commit 34bc69d376
1 file changed
+1 -1
+1 -1
View File
@@ -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
```