Skip to content

Commit

Permalink
doc: fix typos in n-api docs
Browse files Browse the repository at this point in the history
PR-URL: #40402
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
igncp authored and targos committed Oct 13, 2021
1 parent 7733b5e commit 93a48e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 93a48e0

Please sign in to comment.