Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix typos in n-api docs #40402

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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