Skip to content

Add note on arrayLen for corner case with sparse array#1707

Merged
pfreitag merged 1 commit intofoundeo:masterfrom
JoelNiemela:arraylen-sparse-array
Jul 11, 2025
Merged

Add note on arrayLen for corner case with sparse array#1707
pfreitag merged 1 commit intofoundeo:masterfrom
JoelNiemela:arraylen-sparse-array

Conversation

@JoelNiemela
Copy link
Copy Markdown
Contributor

Turns out that arrayLen actually returns the largest index of an array, and not its length: https://www.trycf.com/gist/6eaddb24706ea4034382133219786252/acf2025?theme=monokai

@pfreitag pfreitag merged commit cb51882 into foundeo:master Jul 11, 2025
4 checks passed
@pfreitag
Copy link
Copy Markdown
Member

Thanks, good update @JoelNiemela

@JoelNiemela JoelNiemela deleted the arraylen-sparse-array branch July 28, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants