count 方法

void count(
  1. [Object? arg]
)

实现

void count([Object? arg]) =>
    _isConsoleDefined ? JS('void', 'window.console.count(#)', arg) : null;