We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

这篇翻译不完整。请帮忙从英语翻译这篇文章

非标准
该特性是非标准的,请尽量不要在生产环境中使用它!

概述

停止一个通过 console.time() 启动的计时器

有关详细信息和示例,请参阅 Timers

语法

console.timeEnd(label);

参数

label
需要停止的计时器名字。一旦停止,计时器所经过的时间会被自动输出到控制台。

Specifications

Specification Status Comment
Console API
console.timeEnd()
Living Standard Initial definition

浏览器兼容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 2 10.0 (10.0) 11 (Yes) 4.0
Available in workers ? 38.0 (38.0) ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? 10.0 (10.0) ? ? ?
Available in workers ? 38.0 (38.0) ? ? ?

相关链接

文档标签和贡献者

此页面的贡献者: Dcfm, regiondavid
最后编辑者: Dcfm,