Date.now()方法、 Date.prototype.getTime()方法、Date.prototype.valueOf()方法貌似都可以返回毫秒數(shù)?他們的區(qū)別在哪???用法上有什么需要注意的?
js中Date對(duì)象返回毫秒數(shù)方法的區(qū)別?比如Date.now和Date.prototype
HUWWW
2019-03-14 18:19:13