File tree 5 files changed +9
-9
lines changed
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2222,7 +2222,7 @@ added: v1.1.0
2222
2222
2223
2223
* Returns: {Iterator}
2224
2224
2225
- Creates and returns an [ iterator] [ ] of ` buf ` keys (indices ).
2225
+ Creates and returns an [ iterator] [ ] of ` buf ` keys (indexes ).
2226
2226
2227
2227
``` mjs
2228
2228
import { Buffer } from ' node:buffer' ;
@@ -3341,7 +3341,7 @@ added: v3.0.0
3341
3341
* Returns: {Buffer}
3342
3342
3343
3343
Returns a new ` Buffer ` that references the same memory as the original, but
3344
- offset and cropped by the ` start ` and ` end ` indices .
3344
+ offset and cropped by the ` start ` and ` end ` indexes .
3345
3345
3346
3346
Specifying ` end ` greater than [ ` buf.length ` ] [ ] will return the same result as
3347
3347
that of ` end ` equal to [ ` buf.length ` ] [ ] .
@@ -3468,7 +3468,7 @@ changes:
3468
3468
> Stability: 0 - Deprecated: Use [ ` buf.subarray ` ] [ ] instead.
3469
3469
3470
3470
Returns a new ` Buffer ` that references the same memory as the original, but
3471
- offset and cropped by the ` start ` and ` end ` indices .
3471
+ offset and cropped by the ` start ` and ` end ` indexes .
3472
3472
3473
3473
This method is not compatible with the ` Uint8Array.prototype.slice() ` ,
3474
3474
which is a superclass of ` Buffer ` . To copy the slice, use
Original file line number Diff line number Diff line change @@ -739,7 +739,7 @@ added: v8.6.0
739
739
* ` multicastInterface ` {string}
740
740
741
741
_ All references to scope in this section are referring to
742
- [ IPv6 Zone Indices ] [ ] , which are defined by [ RFC 4007] [ ] . In string form, an IP
742
+ [ IPv6 Zone Indexes ] [ ] , which are defined by [ RFC 4007] [ ] . In string form, an IP
743
743
with a scope index is written as ` 'IP%scope' ` where scope is an interface name
744
744
or interface number._
745
745
@@ -986,7 +986,7 @@ interfaces" address on a random port (it does the right thing for both `udp4`
986
986
and ` udp6 ` sockets). The bound address and port can be retrieved using
987
987
[ ` socket.address().address ` ] [ ] and [ ` socket.address().port ` ] [ ] .
988
988
989
- [ IPv6 Zone Indices ] : https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses
989
+ [ IPv6 Zone Indexes ] : https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses
990
990
[ RFC 4007 ] : https://tools.ietf.org/html/rfc4007
991
991
[ `'close'` ] : #event-close
992
992
[ `ERR_SOCKET_BAD_PORT` ] : errors.md#err_socket_bad_port
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Throughout the documentation are indications of a section's stability. Some APIs
21
21
are so proven and so relied upon that they are unlikely to ever change at all.
22
22
Others are brand new and experimental, or known to be hazardous.
23
23
24
- The stability indices are as follows:
24
+ The stability indexes are as follows:
25
25
26
26
> Stability: 0 - Deprecated. The feature may emit warnings. Backward
27
27
> compatibility is not guaranteed.
Original file line number Diff line number Diff line change @@ -960,7 +960,7 @@ myEmitter.emit('event');
960
960
```
961
961
962
962
Because listeners are managed using an internal array, calling this will
963
- change the position indices of any listener registered _ after_ the listener
963
+ change the position indexes of any listener registered _ after_ the listener
964
964
being removed. This will not impact the order in which listeners are called,
965
965
but it means that any copies of the listener array as returned by
966
966
the ` emitter.listeners() ` method will need to be recreated.
Original file line number Diff line number Diff line change @@ -2215,9 +2215,9 @@ typedef enum {
2215
2215
} napi_key_conversion;
2216
2216
```
2217
2217
2218
- `napi_key_numbers_to_strings` will convert integer indices to
2218
+ `napi_key_numbers_to_strings` will convert integer indexes to
2219
2219
strings. `napi_key_keep_numbers` will return numbers for integer
2220
- indices .
2220
+ indexes .
2221
2221
2222
2222
#### `napi_valuetype`
2223
2223
You can’t perform that action at this time.
0 commit comments