Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
5 months ago
Test name Executions per second
Array.isArray 692632448.0 Ops/sec
instanceof 159178112.0 Ops/sec
[].constructor 142377552.0 Ops/sec
Object.prototype.toString 123882240.0 Ops/sec
Script Preparation code:
Tests:
  • Array.isArray

  • instanceof

  • [].constructor

  • Object.prototype.toString