You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api/esm.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,8 @@ syncBuiltinESMExports();
332
332
fs.readFileSync=== readFileSync;
333
333
```
334
334
335
-
> When importing built-in modules, all the named exports (i.e. properties of the module exports object) are populated even if they are not individually accessed.
335
+
> When importing built-in modules, all the named exports (i.e. properties of the module exports object)
336
+
> are populated even if they are not individually accessed.
336
337
> This can make initial imports of built-in modules slightly slower compared to loading them with
337
338
> `require()` or `process.getBuiltinModule()`, where the module exports object is evaluated immediately,
338
339
> but some of its properties may only be initialized when first accessed individually.
0 commit comments