mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: Add a missing comma
PR-URL: https://github.com/nodejs/node/pull/19555 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
f13cc3237e
commit
9845fc3e4a
1 file changed
+2
-2
+2
-2
@@ -610,7 +610,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;
|
||||
}
|
||||
@@ -647,7 +647,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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user