Is it possible to create an array collection in JavaScript? If so, how can I do that? If I have some data : 1- 5 for example.
You can create object:
Or
Access all data you can
|
|||||||||||||||||||||
|
I actually do not quite understand what you want to do, but you can create a Javascript array containing the numbers 1 to 5 like this:
|
|||||
|
A-Z of javascript Arrays check this link If you want to populate an array
Or
|
|||||||||||||||||||||
|
If you want a more complex collection of data you can use the data.js abstraction library. If your more specific in what you want I can show you an example. |
|||||||||
|