Script Preparation code:
AخA
 
var obj = { a: 1, b: 2, c: 3, 3: true, d: 4, e: 5 };
Tests:
  • number

     
    obj.hasOwnProperty( 3 );
  • string

     
    obj.hasOwnProperty( '3' );
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    number
    string

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4715.0 Safari/537.36
Chrome 98 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
number 11919944.0 Ops/sec
string 11438127.0 Ops/sec