Run details:
Mozilla/5.0 (Android 12; Mobile; rv:105.0) Gecko/105.0 Firefox/105.0
Firefox Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
Array.isArray 182267312.0 Ops/sec
instanceof 29382556.0 Ops/sec
[].constructor 42782076.0 Ops/sec
Object.prototype.toString 30570746.0 Ops/sec
Script Preparation code:
Tests:
  • Array.isArray

  • instanceof

  • [].constructor

  • Object.prototype.toString