This method will return the params in array form and the values in it will be same as we get for new Date().
moment().toArray();
var a = new Date(); var b = moment().toArray();