mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix typos in n-api docs
PR-URL: https://github.com/nodejs/node/pull/40402 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
7733b5e55d
commit
93a48e02dc
1 file changed
+2
-2
+2
-2
@@ -1574,7 +1574,7 @@ NAPI_EXTERN napi_status napi_create_reference(napi_env env,
|
||||
|
||||
Returns `napi_ok` if the API succeeded.
|
||||
|
||||
This API create a new reference with the specified reference count
|
||||
This API creates a new reference with the specified reference count
|
||||
to the `Object` passed in.
|
||||
|
||||
#### napi_delete_reference
|
||||
@@ -4132,7 +4132,7 @@ napi_status napi_set_element(napi_env env,
|
||||
|
||||
Returns `napi_ok` if the API succeeded.
|
||||
|
||||
This API sets and element on the `Object` passed in.
|
||||
This API sets an element on the `Object` passed in.
|
||||
|
||||
#### napi_get_element
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user