var now = new Date();
The first part of this line,
var now =, should look familiar. It sets the variable
now to some value. The second part,
new Date(), is new; it creates an object.