how to initialize an array in javascript

JavaScript
var array_name = [item1, item2, ...];  
Source

Also in JavaScript: