Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Object.hasOwnProperty 1558158848.0 Ops/sec
Object in 1547529344.0 Ops/sec
Array.indexOf 1408810.2 Ops/sec
direct 1560460160.0 Ops/sec
Array includes 1451362.1 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes