Skip to content

Commit

Permalink
src,doc: fix wording to refer to context, not environment
Browse files Browse the repository at this point in the history
PR-URL: #34880
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
wjabbour authored and addaleax committed Sep 22, 2020
1 parent 302d389 commit 2a7c65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,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
Expand Down

0 comments on commit 2a7c65a

Please sign in to comment.