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 <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
igncp authored and nodejs-github-bot committed Oct 10, 2021
1 parent 9467cba commit 7dd3adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
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 7dd3adf

Please sign in to comment.