How does console.time and console.timeEnd work? The results I am getting make no sense

后端 未结 0 1377
小蘑菇
小蘑菇 2021-02-05 20:22

I am trying to calculate the time of execution of this loop, but the result is wrong and I cannot understand why.

var iterations = 10000;
console.time(\'1\');
for         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题