label
{string} 计数器的显示标签。 默认值:'default'
。
重置特定于 label
的内部计数器。
> console.count('abc');
abc: 1
undefined
> console.countReset('abc');
undefined
> console.count('abc');
abc: 1
undefined
>
label
{string} 计数器的显示标签。 默认值: 'default'
。重置特定于 label
的内部计数器。
> console.count('abc');
abc: 1
undefined
> console.countReset('abc');
undefined
> console.count('abc');
abc: 1
undefined
>
若有收获,就点个赞吧
0 人点赞
让时间为你证明