Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Console.timeEnd()

翻译正在进行中。

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

概述

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

关于 Timers 的细节和例子请参考文档

语法

console.timeEnd(label);

参数

label
要停止的计时器的名字。一旦停止,所经过的时间会被自动展示在终端中。

Specifications

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

浏览器兼容性

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) ? ? ?

相关链接

文档标签和贡献者

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