Are JavaScript arrays associative?

Posted by Lem0n on Stack Overflow See other posts from Stack Overflow or by Lem0n
Published on 2010-04-04T20:48:22Z Indexed on 2010/04/04 20:53 UTC
Read the original article Hit count: 291

Filed under:
|
|

For instance, if I do a[1000000]=1; will it use memory for 1000000 elements or just for this one?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about arrays