Run details:
Mozilla/5.0 (Windows NT 10.0; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox 106
Windows
Desktop
one year ago
Test name Executions per second
array length 24288.1 Ops/sec
array length > 0 24645.4 Ops/sec
Script Preparation code:
Tests:
  • array length

  • array length > 0