From 1662259bba80f9a475de86679f2eb5121c99b488 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 12 Jan 2026 18:28:03 +0100 Subject: [PATCH 1/2] 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 --- 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 981c053ac40f0c..20f28efb3268e0 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} properties are available on `Buffer`s. There are, however, subtle incompatibilities between the `Buffer` API and the {TypedArray} API. From 3b0579c921e3dbd7ca495f12f7d7fef0bac36c53 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 12 Jan 2026 18:33:57 +0100 Subject: [PATCH 2/2] use "methods and properties" --- 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 20f28efb3268e0..5d5cdef6850bdf 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} properties 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.