Skip to content

Commit

Permalink
doc: Fix typo in docs
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node-addon-api#284
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Nicola Del Gobbo <[email protected]>
  • Loading branch information
John French committed Jun 19, 2018
1 parent d877472 commit 0c7a1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/object_lifetime_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ with each of the values, one at a time:
for (int i = 0; i < LOOP_MAX; i++) {
std::string name = std::string("inner-scope") + std::to_string(i);
Value newValue = String::New(info.Env(), name.c_str());
// do something with neValue
// do something with newValue
};
```

Expand Down

0 comments on commit 0c7a1b2

Please sign in to comment.