Skip to content

Update description of Array.length property#43981

Merged
sideshowbarker merged 3 commits intomdn:mainfrom
jonrandy:patch-2
May 2, 2026
Merged

Update description of Array.length property#43981
sideshowbarker merged 3 commits intomdn:mainfrom
jonrandy:patch-2

Conversation

@jonrandy
Copy link
Copy Markdown
Contributor

@jonrandy jonrandy commented May 1, 2026

Clarified the definition of the 'length' property to indicate it represents the number of slots in the array, accounting for sparse arrays.

Description

Motivation

Additional details

Related issues and pull requests

Clarified the definition of the 'length' property to indicate it represents the number of slots in the array, accounting for sparse arrays.
@jonrandy jonrandy requested a review from a team as a code owner May 1, 2026 07:53
@jonrandy jonrandy requested review from sideshowbarker and removed request for a team May 1, 2026 07:53
@github-actions github-actions Bot added Content:JS JavaScript docs size/xs [PR only] 0-5 LoC changed labels May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Preview URLs (1 page)

(comment last updated: 2026-05-02 02:18:11)

Comment thread files/en-us/web/javascript/reference/global_objects/array/length/index.md Outdated
jonrandy and others added 2 commits May 2, 2026 09:15
@sideshowbarker sideshowbarker merged commit 5a745d5 into mdn:main May 2, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:JS JavaScript docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants