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 <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
wjabbour authored and richardlau committed Sep 1, 2020
1 parent bcc1d43 commit f6a5999
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 @@ -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
Expand Down

0 comments on commit f6a5999

Please sign in to comment.