doc: fix typo in n-api.md

PR-URL: https://github.com/nodejs/node/pull/13323
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
JongChan Choi 2017-05-31 14:04:14 +09:00 committed by Vse Mozhet Byt
parent 3b12a8d6e7
commit fd54b10500

View File

@ -530,7 +530,7 @@ Taking the earlier example, adding calls to [`napi_open_handle_scope`][] and
is valid throughout the execution of the loop:
```C
for (int i = 0; i < 1000000; i++) {napi_
for (int i = 0; i < 1000000; i++) {
napi_handle_scope scope;
napi_status status = napi_open_handle_scope(env, &scope);
if (status != napi_ok) {