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:
Ignacio Carbajo authored and Michaël Zasso committed 2021-10-13 10:20:54 +02:00
1 parent 7733b5e55d
commit 93a48e02dc
1 file changed
+2 -2
+2 -2
View File
@@ -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