Is it possible, in Javascript, to create an array whose length is guaranteed to remain the same?
For example, the array A is created with length 2. Subs
A
I know this is an old question but nowadays there's a node module that does just this called fixed-array