console.time('<timer-label>'); console.timeEnd('<timer-label>');. 我们可以通过向两个函数传递相同的 label 名称来计算出运行一个操作所需的时间。
確定! 回上一頁