label <string> 计数器的显示标签。默认值:'default'。
label
'default'
¥label <string> The display label for the counter. Default: 'default'.
重置特定于 label 的内部计数器。
¥Resets the internal counter specific to label.
> console.count('abc'); abc: 1 undefined > console.countReset('abc'); undefined > console.count('abc'); abc: 1 undefined > 拷贝
> console.count('abc'); abc: 1 undefined > console.countReset('abc'); undefined > console.count('abc'); abc: 1 undefined >