File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 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
22222222
22232223* Returns: {Iterator}
22242224
2225- Creates and returns an [ iterator] [ ] of ` buf ` keys (indices ).
2225+ Creates and returns an [ iterator] [ ] of ` buf ` keys (indexes ).
22262226
22272227``` mjs
22282228import { Buffer } from ' node:buffer' ;
@@ -3341,7 +3341,7 @@ added: v3.0.0
33413341* Returns: {Buffer}
33423342
33433343Returns 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 .
33453345
33463346Specifying ` end ` greater than [ ` buf.length ` ] [ ] will return the same result as
33473347that of ` end ` equal to [ ` buf.length ` ] [ ] .
@@ -3468,7 +3468,7 @@ changes:
34683468> Stability: 0 - Deprecated: Use [ ` buf.subarray ` ] [ ] instead.
34693469
34703470Returns 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 .
34723472
34733473This method is not compatible with the ` Uint8Array.prototype.slice() ` ,
34743474which 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
739739* ` multicastInterface ` {string}
740740
741741_ 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
743743with a scope index is written as ` 'IP%scope' ` where scope is an interface name
744744or interface number._
745745
@@ -986,7 +986,7 @@ interfaces" address on a random port (it does the right thing for both `udp4`
986986and ` udp6 ` sockets). The bound address and port can be retrieved using
987987[ ` socket.address().address ` ] [ ] and [ ` socket.address().port ` ] [ ] .
988988
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
990990[ RFC 4007 ] : https://tools.ietf.org/html/rfc4007
991991[ `'close'` ] : #event-close
992992[ `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
2121are so proven and so relied upon that they are unlikely to ever change at all.
2222Others are brand new and experimental, or known to be hazardous.
2323
24- The stability indices are as follows:
24+ The stability indexes are as follows:
2525
2626> Stability: 0 - Deprecated. The feature may emit warnings. Backward
2727> compatibility is not guaranteed.
Original file line number Diff line number Diff line change @@ -960,7 +960,7 @@ myEmitter.emit('event');
960960```
961961
962962Because 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
964964being removed. This will not impact the order in which listeners are called,
965965but it means that any copies of the listener array as returned by
966966the ` emitter.listeners() ` method will need to be recreated.
Original file line number Diff line number Diff line change @@ -2215,9 +2215,9 @@ typedef enum {
22152215} napi_key_conversion;
22162216```
22172217
2218- `napi_key_numbers_to_strings` will convert integer indices to
2218+ `napi_key_numbers_to_strings` will convert integer indexes to
22192219strings. `napi_key_keep_numbers` will return numbers for integer
2220- indices .
2220+ indexes .
22212221
22222222#### `napi_valuetype`
22232223
You can’t perform that action at this time.
0 commit comments