JavaScript Array (array)
The role of an array object is to use separate variable names to store a series of values.
How to create an array:
We have the following methods
The first one:
var arr = new array();
arr[0]=1;
arr[1]=2;
##Second type:
var arr = new array(1,2);
The following code
数组