Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
isArray 257789.8 Ops/sec
instanceof 246575.7 Ops/sec
Symbol.iterator 153301.6 Ops/sec
Object.prototype.toString.call 217297.6 Ops/sec
Script Preparation code:
Tests:
  • isArray

  • instanceof

  • Symbol.iterator

  • Object.prototype.toString.call