4 ms·
It does internally. Pretty sure that's even defined in the standard.
by the_mitsuhiko 12y ago
It does internally. Pretty sure that's even defined in the standard.
- cgrand-net 12y agoIf you can't observe a difference, does it matter?
- gsnedders 12y agoNo, 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.