Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
indexOf !== 198324144.0 Ops/sec
filter length > 0 83728352.0 Ops/sec
find !== undefined 18323656.0 Ops/sec
some 230673264.0 Ops/sec
! every 232609376.0 Ops/sec
lastIndexOf !== -1 117091200.0 Ops/sec
Tests:
  • indexOf !==

  • filter length > 0

  • find !== undefined

  • some

  • ! every

  • lastIndexOf !== -1