@@ -615,7 +615,7 @@ are no longer required, the scope can be 'closed' and any handles associated
615
615
with the scope are invalidated. The methods available to open/close scopes are
616
616
[`napi_open_handle_scope`][] and [`napi_close_handle_scope`][].
617
617
618
- N-API only supports a single nested hiearchy of scopes. There is only one
618
+ N-API only supports a single nested hierarchy of scopes. There is only one
619
619
active scope at any time, and all new handles will be associated with that
620
620
scope while it is active. Scopes must be closed in the reverse order from
621
621
which they are opened. In addition, all scopes created within a native method
@@ -887,7 +887,7 @@ object to which the reference is related.
887
887
Returns `napi_ok` if the API succeeded.
888
888
889
889
If still valid, this API returns the `napi_value` representing the
890
- JavaScript Object associated with the `napi_ref`. Otherise , result
890
+ JavaScript Object associated with the `napi_ref`. Otherwise , result
891
891
will be NULL.
892
892
893
893
## Module registration
@@ -2150,7 +2150,7 @@ napi_status napi_is_arraybuffer(napi_env env, napi_value value, bool* result)
2150
2150
2151
2151
Returns `napi_ok` if the API succeeded.
2152
2152
2153
- This API checks if the Object passsed in is an array buffer.
2153
+ This API checks if the Object passed in is an array buffer.
2154
2154
2155
2155
### napi_is_buffer
2156
2156
<!-- YAML
@@ -2167,7 +2167,7 @@ object.
2167
2167
2168
2168
Returns `napi_ok` if the API succeeded.
2169
2169
2170
- This API checks if the Object passsed in is a buffer.
2170
+ This API checks if the Object passed in is a buffer.
2171
2171
2172
2172
### napi_is_error
2173
2173
<!-- YAML
@@ -2183,7 +2183,7 @@ napi_status napi_is_error(napi_env env, napi_value value, bool* result)
2183
2183
2184
2184
Returns `napi_ok` if the API succeeded.
2185
2185
2186
- This API checks if the Object passsed in is an Error.
2186
+ This API checks if the Object passed in is an Error.
2187
2187
2188
2188
### napi_is_typedarray
2189
2189
<!-- YAML
@@ -2199,7 +2199,7 @@ napi_status napi_is_typedarray(napi_env env, napi_value value, bool* result)
2199
2199
2200
2200
Returns `napi_ok` if the API succeeded.
2201
2201
2202
- This API checks if the Object passsed in is a typed array.
2202
+ This API checks if the Object passed in is a typed array.
2203
2203
2204
2204
### napi_is_dataview
2205
2205
<!-- YAML
@@ -2469,7 +2469,7 @@ and [`napi_get_element`][].
2469
2469
2470
2470
Returns `napi_ok` if the API succeeded.
2471
2471
2472
- This API returns the array of propertys for the Object passed in
2472
+ This API returns the array of properties for the Object passed in
2473
2473
2474
2474
#### napi_set_property
2475
2475
<!-- YAML
@@ -3276,7 +3276,7 @@ napi_status napi_create_async_work(napi_env env,
3276
3276
that will be passed to possible async_hooks [`init` hooks][].
3277
3277
- `[in] async_resource_name`: Identifier for the kind of resource that is
3278
3278
being provided for diagnostic information exposed by the `async_hooks` API.
3279
- - `[in] execute`: The native function which should be called to excute
3279
+ - `[in] execute`: The native function which should be called to execute
3280
3280
the logic asynchronously. The given function is called from a worker pool
3281
3281
thread and can execute in parallel with the main event loop thread.
3282
3282
- `[in] complete`: The native function which will be called when the
0 commit comments