From fa7830bac009feb46ad3d333882258192efd801e Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 20 Jan 2026 22:42:19 +0100 Subject: [PATCH] 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 Reviewed-By: Chengzhong Wu --- doc/api/buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 9f8d4592ef0..bb3af1a673f 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -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.