Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Carbajo <icarbajop@gmail.com>2021-10-10 22:27:54 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-10-11 00:31:56 +0300
commit7dd3adf6dd4284353993977584ee807c25397046 (patch)
tree67d6200302996166edf67ab7d4f6553ae2aae4e0
parent9467cbadcbe350d802887e10ec9ee6660f15706b (diff)
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>
-rw-r--r--doc/api/n-api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md
index 24963af7f90..2113ca7ca88 100644
--- a/doc/api/n-api.md
+++ b/doc/api/n-api.md
@@ -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