mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: clarify TypedArray properties on Buffer
"properties" is a more generic wording which also includes non-method properties like `byteLength`. Fixes: https://github.com/nodejs/node/issues/34946 PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
977f46cc20
commit
fa7830bac0
1 file changed
+1
-1
+1
-1
@@ -243,7 +243,7 @@ changes:
|
||||
-->
|
||||
|
||||
`Buffer` instances are also JavaScript {Uint8Array} and {TypedArray}
|
||||
instances. All {TypedArray} methods are available on `Buffer`s. There are,
|
||||
instances. All {TypedArray} methods and properties are available on `Buffer`s. There are,
|
||||
however, subtle incompatibilities between the `Buffer` API and the
|
||||
{TypedArray} API.
|
||||
|
||||
|
||||
Reference in new issue
Block a user