Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Windows 7
Desktop
8 months ago
Test name Executions per second
Object.hasOwnProperty 370905728.0 Ops/sec
Object in 367262432.0 Ops/sec
Array.indexOf 112268.1 Ops/sec
direct 390676736.0 Ops/sec
Array includes 114675.6 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;