Javascript arrays are NOT linked lists. In terms of use they are like normal arrays but with the feature that they can increase in size dynamically to what is required, and they can hold different types of variable.
For example, [0] could be integer and [1] could be string.
If you created an array of size 5, but then made [9] = something, the array would increase in size to be 10 elements long. ([5]-[8] being empty for now). This can be both very useful and annoying depending upon what you are doing, and your ideas of what is "good practice".
For example, [0] could be integer and [1] could be string.
If you created an array of size 5, but then made [9] = something, the array would increase in size to be 10 elements long. ([5]-[8] being empty for now). This can be both very useful and annoying depending upon what you are doing, and your ideas of what is "good practice".