Script Preparation code:
AخA
 
var obj = { a: 5, b: 6, c: 7 };
Tests:
  • in

     
    'a' in obj;
    'b' in obj;
    'c' in obj;
  • property

     
    Object.hasOwnProperty.call(obj, 'a');
    Object.hasOwnProperty.call(obj, 'b');
    Object.hasOwnProperty.call(obj, 'c');
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    in
    property

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78 on Mac OS X 10.11
View result in a separate tab
Test name Executions per second
in 24487320.0 Ops/sec
property 9878447.0 Ops/sec