From 17fe21e83dcc241a4634f88fef436f30199fc4fc Mon Sep 17 00:00:00 2001 From: JongChan Choi Date: Wed, 31 May 2017 14:04:14 +0900 Subject: [PATCH] doc: fix typo in n-api.md Backport-PR-URL: https://github.com/nodejs/node/pull/19447 PR-URL: https://github.com/nodejs/node/pull/13323 Reviewed-By: Luigi Pinca --- doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index e151a7357fbb58..7da9e5171664a9 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -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) {