Skip to content

Conversation

@silverwind
Copy link
Contributor

@silverwind silverwind commented Jan 12, 2026

Add "properties" to clarify presence of non-method properties like byteLength. This follows MDN which also distinguishes methods and properties.

Fixes: #34946
Ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/byteLength

"properties" is a more generic wording which also includes non-method
properties like `byteLength`.

Fixes: nodejs#34946
@nodejs-github-bot nodejs-github-bot added buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to the documentations. labels Jan 12, 2026
@avivkeller avivkeller added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 16, 2026
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Jan 16, 2026
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/61355
✔  Done loading data for nodejs/node/pull/61355
----------------------------------- PR info ------------------------------------
Title      doc: clarify TypedArray properties on Buffer (#61355)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     silverwind:bufdoc -> nodejs:main
Labels     buffer, doc
Commits    2
 - doc: clarify TypedArray properties on Buffer
 - use "methods and properties"
Committers 1
 - silverwind <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/61355
Fixes: https://github.com/nodejs/node/issues/34946
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/byteLength
Reviewed-By: Colin Ihrig <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/61355
Fixes: https://github.com/nodejs/node/issues/34946
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/byteLength
Reviewed-By: Colin Ihrig <[email protected]>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Mon, 12 Jan 2026 17:31:17 GMT
   ✔  Approvals: 1
   ✔  - Colin Ihrig (@cjihrig): https://github.com/nodejs/node/pull/61355#pullrequestreview-3655526833
   ✘  This PR needs to wait 89 more hours to land (or 0 minutes if there is one more approval)
   ✔  Last GitHub CI successful
   ℹ  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/21052084247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buffer Issues and PRs related to the buffer subsystem. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc: Buffer.prototype.byteLength is undocumented

4 participants