@@ -613,7 +613,7 @@ are no longer required, the scope can be 'closed' and any handles associated
613
613
with the scope are invalidated. The methods available to open/close scopes are
614
614
[`napi_open_handle_scope`][] and [`napi_close_handle_scope`][].
615
615
616
- N-API only supports a single nested hiearchy of scopes. There is only one
616
+ N-API only supports a single nested hierarchy of scopes. There is only one
617
617
active scope at any time, and all new handles will be associated with that
618
618
scope while it is active. Scopes must be closed in the reverse order from
619
619
which they are opened. In addition, all scopes created within a native method
@@ -884,7 +884,7 @@ object to which the reference is related.
884
884
Returns `napi_ok` if the API succeeded.
885
885
886
886
If still valid, this API returns the `napi_value` representing the
887
- JavaScript Object associated with the `napi_ref`. Otherise , result
887
+ JavaScript Object associated with the `napi_ref`. Otherwise , result
888
888
will be NULL.
889
889
890
890
## Module registration
@@ -2159,7 +2159,7 @@ napi_status napi_is_arraybuffer(napi_env env, napi_value value, bool* result)
2159
2159
2160
2160
Returns `napi_ok` if the API succeeded.
2161
2161
2162
- This API checks if the Object passsed in is an array buffer.
2162
+ This API checks if the Object passed in is an array buffer.
2163
2163
2164
2164
### napi_is_buffer
2165
2165
<!-- YAML
@@ -2176,7 +2176,7 @@ object.
2176
2176
2177
2177
Returns `napi_ok` if the API succeeded.
2178
2178
2179
- This API checks if the Object passsed in is a buffer.
2179
+ This API checks if the Object passed in is a buffer.
2180
2180
2181
2181
### napi_is_error
2182
2182
<!-- YAML
@@ -2192,7 +2192,7 @@ napi_status napi_is_error(napi_env env, napi_value value, bool* result)
2192
2192
2193
2193
Returns `napi_ok` if the API succeeded.
2194
2194
2195
- This API checks if the Object passsed in is an Error.
2195
+ This API checks if the Object passed in is an Error.
2196
2196
2197
2197
### napi_is_typedarray
2198
2198
<!-- YAML
@@ -2208,7 +2208,7 @@ napi_status napi_is_typedarray(napi_env env, napi_value value, bool* result)
2208
2208
2209
2209
Returns `napi_ok` if the API succeeded.
2210
2210
2211
- This API checks if the Object passsed in is a typed array.
2211
+ This API checks if the Object passed in is a typed array.
2212
2212
2213
2213
### napi_is_dataview
2214
2214
<!-- YAML
@@ -2480,7 +2480,7 @@ and [`napi_get_element`][].
2480
2480
2481
2481
Returns `napi_ok` if the API succeeded.
2482
2482
2483
- This API returns the array of propertys for the Object passed in
2483
+ This API returns the array of properties for the Object passed in
2484
2484
2485
2485
#### napi_set_property
2486
2486
<!-- YAML
@@ -3288,7 +3288,7 @@ napi_status napi_create_async_work(napi_env env,
3288
3288
that will be passed to possible async_hooks [`init` hooks][].
3289
3289
- `[in] async_resource_name`: Identifier for the kind of resource that is
3290
3290
being provided for diagnostic information exposed by the `async_hooks` API.
3291
- - `[in] execute`: The native function which should be called to excute
3291
+ - `[in] execute`: The native function which should be called to execute
3292
3292
the logic asynchronously. The given function is called from a worker pool
3293
3293
thread and can execute in parallel with the main event loop thread.
3294
3294
- `[in] complete`: The native function which will be called when the
0 commit comments