mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src,doc: fix wording to refer to context, not environment
PR-URL: https://github.com/nodejs/node/pull/34880 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
committed by
Anna Henningsen
parent
0f9650bcdd
commit
87c43dee53
@@ -239,7 +239,7 @@ Node.js, and a sufficiently committed person could restructure Node.js to
|
||||
provide built-in modules inside of `vm.Context`s.
|
||||
|
||||
Often, the `Context` is passed around for [exception handling][].
|
||||
Typical ways of accessing the current `Environment` in the Node.js code are:
|
||||
Typical ways of accessing the current `Context` in the Node.js code are:
|
||||
|
||||
* Given an [`Isolate`][], using `isolate->GetCurrentContext()`.
|
||||
* Given an [`Environment`][], using `env->context()` to get the `Environment`’s
|
||||
|
||||
Reference in New Issue
Block a user