From 6cff890ee5b0a764d52b2ad5114be6e14c9538d4 Mon Sep 17 00:00:00 2001 From: Ben Berman Date: Mon, 18 Jun 2018 10:59:55 -0400 Subject: [PATCH] doc: Fix typo in docs PR-URL: https://github.com/nodejs/node-addon-api/pull/284 Reviewed-By: Michael Dawson Reviewed-By: Nicola Del Gobbo --- doc/object_lifetime_management.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/object_lifetime_management.md b/doc/object_lifetime_management.md index b6ea39db0..5c7a66c28 100644 --- a/doc/object_lifetime_management.md +++ b/doc/object_lifetime_management.md @@ -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 }; ```