Are variable length arrays possible with Javascript

Posted by Ankur on Stack Overflow See other posts from Stack Overflow or by Ankur
Published on 2010-03-24T02:37:23Z Indexed on 2010/03/24 2:43 UTC
Read the original article Hit count: 446

I want to make a variable length array in Javascript.

Is this possible. A quick google search for "Javascript variable length array" doesn't seem to yield anything, which would be surprising if it were possible to do this.

Should I instead have a String that I keep appending to with a separator character instead, or is there a better way to get a varible length array-like variable.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about arrays