how define an array in javascript code example
Example 1: javascript declare array
var array = []
Example 2: how to initialize an array in javascript
var array_name = [item1, item2, ...];
var array = []
var array_name = [item1, item2, ...];