Hacker News new | ask | show | jobs
by the_mitsuhiko 4189 days ago
It does internally. Pretty sure that's even defined in the standard.
2 comments

No, it doesn't. The only magic per spec is about the "length" property (which is essentially a getter/setter pair, despite being a data property and not an accessor pair). That's the only thing special about arrays in JS.
If you can't observe a difference, does it matter?