Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
Array.some 116769.1 Ops/sec
Array.filter 19857.1 Ops/sec
Array.indexOf 1235257.0 Ops/sec
Array.includes 1512203.8 Ops/sec
Array.find 137679.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find