Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2021-03-09 03:44:48 +0300
committerJames M Snell <jasnell@gmail.com>2021-03-09 18:32:44 +0300
commit16151bec081b55d8b2bb936f1f00207120a770db (patch)
tree5a902c26ac5147532babf5651cb3bb110a8ba20a /doc/api/vm.md
parent5247dc0325d94473eedf694d0598b19ba43869f5 (diff)
doc: document that module.evaluate fulfills as undefined
Fixes: https://github.com/nodejs/node/issues/37453 Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/37663 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r--doc/api/vm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md
index 8b27eedb625..6c9c6e43d5e 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -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.