Skip to content

Commit f6a5999

Browse files
wjabbourrichardlau
authored andcommitted
src,doc: fix wording to refer to context, not environment
PR-URL: #34880 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent bcc1d43 commit f6a5999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Node.js, and a sufficiently committed person could restructure Node.js to
239239
provide built-in modules inside of `vm.Context`s.
240240
241241
Often, the `Context` is passed around for [exception handling][].
242-
Typical ways of accessing the current `Environment` in the Node.js code are:
242+
Typical ways of accessing the current `Context` in the Node.js code are:
243243
244244
* Given an [`Isolate`][], using `isolate->GetCurrentContext()`.
245245
* Given an [`Environment`][], using `env->context()` to get the `Environment`’s

0 commit comments

Comments
 (0)