Script Preparation code:
AخA
 
var n ={};
Tests:
  • test truth

    x
     
        if(!n.foo) {
        }
  • test undefined

     
        if(n.foo===undefined) 
        {
        }
  • test hasOwnProperty

     
        if(!Object.hasOwn(n,'foo')) 
        {
        }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    test truth
    test undefined
    test hasOwnProperty

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109 on Ubuntu
View result in a separate tab
Test name Executions per second
test truth 1771618304.0 Ops/sec
test undefined 1736551424.0 Ops/sec
test hasOwnProperty 1569789824.0 Ops/sec