Skip to content
Permalink
Browse files

doc: Add a missing comma

Backport-PR-URL: #19447
PR-URL: #19555
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information...
leaves4j authored and MylesBorins committed Mar 23, 2018
1 parent c16a705 commit 71acb5205aebad0f03d00af1f7f9daaf5b780aba
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/n-api.md
@@ -608,7 +608,7 @@ that has a loop which iterates through the elements in a large array:
```C
for (int i = 0; i < 1000000; i++) {
napi_value result;
napi_status status = napi_get_element(e object, i, &result);
napi_status status = napi_get_element(e, object, i, &result);
if (status != napi_ok) {
break;
}
@@ -645,7 +645,7 @@ for (int i = 0; i < 1000000; i++) {
break;
}
napi_value result;
status = napi_get_element(e object, i, &result);
status = napi_get_element(e, object, i, &result);
if (status != napi_ok) {
break;
}

0 comments on commit 71acb52

Please sign in to comment.
You can’t perform that action at this time.