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 addaleax committed Aug 26, 2020
1 parent 0f9650b commit 87c43de
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 87c43de

Please sign in to comment.