摘要: ``` 1. console.time('global') // 要执行的代码放中间 console.timeEnd('global') 2. // 这里脚本的时间范围有限制,0~999ms console.log( new Date().getMilliseconds() ) // 要执行的代码放中间 console.log( new Date().getMilliseconds() ) ``` 阅读全文
posted @ 2020-04-13 22:17 lambertlt 阅读(1770) 评论(0) 推荐(0) 编辑