diff --git a/doc/object_lifetime_management.md b/doc/object_lifetime_management.md index 4ab19ecd1..a888ff59e 100644 --- a/doc/object_lifetime_management.md +++ b/doc/object_lifetime_management.md @@ -69,7 +69,7 @@ for (int i = 0; i < LOOP_MAX; i++) { Napi::HandleScope scope(info.Env()); std::string name = std::string("inner-scope") + std::to_string(i); Napi::Value newValue = Napi::String::New(info.Env(), name.c_str()); - // do something with neValue + // do something with newValue }; ```