You can also initialize an array like this,
Code: JavaScript
var name = ['Pradeep','Shabbir','Sanskruti'];

Associative arrays can be declared in JavaScript Object Notation
Code: JavaScript
var cars = {cool: 'Zen', family: 'Tata Safari', big: 'Scorpia'};