Date.now() 方法返回自1970年1月1日 00:00:00 UTC到当前时间的毫秒数,返回的是一个时间戳,是number类型。

typeof Date.now()
//'number'