-
-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Cannot return value from a SourceTextModule to the caller #37453
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
What steps will reproduce the bug?
Make file
retu.js.Run as
node --experimental.vm.modules retu.jsWhat is the expected behavior?
According to the current state of the documentation I expect an output of
Result is: 19What do you see instead?
Output of:
Result is: undefined