Skip to content

Commit

Permalink
doc: document that module.evaluate fulfills as undefined
Browse files Browse the repository at this point in the history
Fixes: #37453
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #37663
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
jasnell authored and targos committed May 1, 2021
1 parent e299054 commit 5ef2a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/vm.md
Expand Up @@ -587,7 +587,7 @@ in the ECMAScript specification.
[`Error`][]. Existing handlers for the event that have been attached via
`process.on('SIGINT')` are disabled during script execution, but continue to
work after that. **Default:** `false`.
* Returns: {Promise}
* Returns: {Promise} Fulfills with `undefined` upon success.

Evaluate the module.

Expand Down

0 comments on commit 5ef2a8d

Please sign in to comment.