console.countReset([label])


    重置特定于 label 的内部计数器。

    • label <string> The display label for the counter. Default: 'default'.

    Resets the internal counter specific to label.

    > console.count('abc');
    abc: 1
    undefined
    > console.countReset('abc');
    undefined
    > console.count('abc');
    abc: 1
    undefined
    >