console.time('global')
//要执行的代码放中间
console.timeEnd('global')
js查看代码的运行时间
猜你喜欢
转载自blog.csdn.net/qq_42107364/article/details/117751042
今日推荐
周排行