Skip to content

Commit 2a7c65a

Browse files
wjabbouraddaleax
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 302d389 commit 2a7c65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/README.md

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

0 commit comments

Comments
 (0)