Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Ubuntu
Desktop
2 years ago
Test name Executions per second
isArray 998414.1 Ops/sec
instanceof 956487.9 Ops/sec
Symbol.iterator 581488.3 Ops/sec
Object.prototype.toString.call 269038.2 Ops/sec
Script Preparation code:
Tests:
  • isArray

  • instanceof

  • Symbol.iterator

  • Object.prototype.toString.call