Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Ubuntu
Desktop
one year ago
Test name Executions per second
array length 52351.1 Ops/sec
array length > 0 56124.1 Ops/sec
Script Preparation code:
Tests:
  • array length

  • array length > 0