moment().toArray();
这会返回一个数组,该数组反映了 new Date() 中的参数。
new Date()
moment().toArray(); // [2013, 1, 4, 14, 40, 16, 154];
This returns an array that mirrors the parameters from new Date().