Subscribe
Sign in
Share this post
Frontend Engineering
Why Do Array Indexes Start at 0?
Copy link
Facebook
Email
Notes
More
Why Do Array Indexes Start at 0?
Llorenç Muntaner
Mar 16, 2022
1
Share this post
Frontend Engineering
Why Do Array Indexes Start at 0?
Copy link
Facebook
Email
Notes
More
Why is the first number accessed with 0 instead of 1? TLDR; With 0, the index matches the offset.
Read →
Comments
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts
Share this post
Why Do Array Indexes Start at 0?
Share this post
Why is the first number accessed with 0 instead of 1? TLDR; With 0, the index matches the offset.