Skip to content

Commit a17016e

Browse files
silverwindaduh95
authored andcommitted
doc: clarify TypedArray properties on Buffer
"properties" is a more generic wording which also includes non-method properties like `byteLength`. Fixes: #34946 PR-URL: #61355 Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/byteLength Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 803ff7d commit a17016e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ changes:
243243
-->
244244

245245
`Buffer` instances are also JavaScript {Uint8Array} and {TypedArray}
246-
instances. All {TypedArray} methods are available on `Buffer`s. There are,
246+
instances. All {TypedArray} methods and properties are available on `Buffer`s. There are,
247247
however, subtle incompatibilities between the `Buffer` API and the
248248
{TypedArray} API.
249249

0 commit comments

Comments
 (0)