Commit 756acd0 1 parent 47c934e commit 756acd0 Copy full SHA for 756acd0
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 @@ -2224,7 +2224,7 @@ added: v1.1.0
2224
2224
2225
2225
* Returns: {Iterator}
2226
2226
2227
- Creates and returns an [ iterator] [ ] of ` buf ` keys (indices ).
2227
+ Creates and returns an [ iterator] [ ] of ` buf ` keys (indexes ).
2228
2228
2229
2229
``` mjs
2230
2230
import { Buffer } from ' node:buffer' ;
@@ -3343,7 +3343,7 @@ added: v3.0.0
3343
3343
* Returns: {Buffer}
3344
3344
3345
3345
Returns a new ` Buffer ` that references the same memory as the original, but
3346
- offset and cropped by the ` start ` and ` end ` indices .
3346
+ offset and cropped by the ` start ` and ` end ` indexes .
3347
3347
3348
3348
Specifying ` end ` greater than [ ` buf.length ` ] [ ] will return the same result as
3349
3349
that of ` end ` equal to [ ` buf.length ` ] [ ] .
@@ -3470,7 +3470,7 @@ changes:
3470
3470
> Stability: 0 - Deprecated: Use [ ` buf.subarray ` ] [ ] instead.
3471
3471
3472
3472
Returns a new ` Buffer ` that references the same memory as the original, but
3473
- offset and cropped by the ` start ` and ` end ` indices .
3473
+ offset and cropped by the ` start ` and ` end ` indexes .
3474
3474
3475
3475
This method is not compatible with the ` Uint8Array.prototype.slice() ` ,
3476
3476
which is a superclass of ` Buffer ` . To copy the slice, use
Original file line number Diff line number Diff line change @@ -741,7 +741,7 @@ added: v8.6.0
741
741
* ` multicastInterface ` {string}
742
742
743
743
_ All references to scope in this section are referring to
744
- [ IPv6 Zone Indices ] [ ] , which are defined by [ RFC 4007] [ ] . In string form, an IP
744
+ [ IPv6 Zone Indexes ] [ ] , which are defined by [ RFC 4007] [ ] . In string form, an IP
745
745
with a scope index is written as ` 'IP%scope' ` where scope is an interface name
746
746
or interface number._
747
747
@@ -988,7 +988,7 @@ interfaces" address on a random port (it does the right thing for both `udp4`
988
988
and ` udp6 ` sockets). The bound address and port can be retrieved using
989
989
[ ` socket.address().address ` ] [ ] and [ ` socket.address().port ` ] [ ] .
990
990
991
- [ IPv6 Zone Indices ] : https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses
991
+ [ IPv6 Zone Indexes ] : https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses
992
992
[ RFC 4007 ] : https://tools.ietf.org/html/rfc4007
993
993
[ `'close'` ] : #event-close
994
994
[ `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 @@ -962,7 +962,7 @@ myEmitter.emit('event');
962
962
```
963
963
964
964
Because listeners are managed using an internal array, calling this will
965
- change the position indices of any listener registered _ after_ the listener
965
+ change the position indexes of any listener registered _ after_ the listener
966
966
being removed. This will not impact the order in which listeners are called,
967
967
but it means that any copies of the listener array as returned by
968
968
the ` emitter.listeners() ` method will need to be recreated.
Original file line number Diff line number Diff line change @@ -2218,9 +2218,9 @@ typedef enum {
2218
2218
} napi_key_conversion;
2219
2219
```
2220
2220
2221
- `napi_key_numbers_to_strings` will convert integer indices to
2221
+ `napi_key_numbers_to_strings` will convert integer indexes to
2222
2222
strings. `napi_key_keep_numbers` will return numbers for integer
2223
- indices .
2223
+ indexes .
2224
2224
2225
2225
#### `napi_valuetype`
2226
2226
You can’t perform that action at this time.
0 commit comments