数据分析师2017-09-30 22:50:03
var today=new Date(); How do you understand this statement? Can you please give me some guidance? -PHP Chinese website Q&A-var today=new Date(); How to understand this statement? Can I ask for guidance? -PHP Chinese website Q&A
Please watch and learn.
阿神2016-12-17 16:39:45
var today=new Date();
意思是:new Date()创建你电脑的时间初始化 赋给 today对象, 那么这个对象就可以干很多事了! 他就是Date的代言人! 如下图 :