···
console.time("aaa");
for (let index = 0; index < 500; index++) {
cc.log(index)
}
console.timeEnd("aaa");
···
···
aaa: 71.739013671875ms
···
···
console.time("aaa");
for (let index = 0; index < 500; index++) {
cc.log(index)
}
console.timeEnd("aaa");
···
···
aaa: 71.739013671875ms
···
本文标题:js ts 取时间间隔
本文链接:https://www.haomeiwen.com/subject/wszplktx.html
网友评论