Share this post! | Vote this! |
|
Arrays are a fundamental part of most programming languages and
scripts. Arrays are simply an ordered stack of data items. Each element
of the array can store its own data, just like a variable, thus you can
say arrays are collections of variables. Items can be added and removed
from the array at any time, also their value can be changed easily. One
other feature of the arrays, which is specific to JavaScript is that the
elements in the array can be of different types. For example in an
array you can have both a string and an integer.
Using arrays, you can store multiple values under a single name. Instead of using a separate variable for each item, you can use one array to hold all of them.
more...
Using arrays, you can store multiple values under a single name. Instead of using a separate variable for each item, you can use one array to hold all of them.
more...
0 comments:
Post a Comment