Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
isArray 236527.2 Ops/sec
instanceof 217750.0 Ops/sec
Symbol.iterator 131418.3 Ops/sec
Object.prototype.toString.call 175699.6 Ops/sec
Script Preparation code:
Tests:
  • isArray

  • instanceof

  • Symbol.iterator

  • Object.prototype.toString.call