Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Mac OS X 10.14
Desktop
3 years ago
Test name Executions per second
isArray 1130113.2 Ops/sec
instanceof 1095134.9 Ops/sec
Symbol.iterator 572426.4 Ops/sec
Object.prototype.toString.call 341723.2 Ops/sec
Script Preparation code:
Tests:
  • isArray

  • instanceof

  • Symbol.iterator

  • Object.prototype.toString.call