Just to check something


#1

var contacts=[bob, mary];

is the same as:

var contacts = [];
contacts[0] = bob;
contacts[1] = mary;

right?


#2

Yes, they are the same.