Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 OPR/101.0.0.0
Opera 101
Windows
Desktop
one year ago
Test name Executions per second
undefined 3808432.0 Ops/sec
typeof 11151346.0 Ops/sec
in 11221399.0 Ops/sec
hasOwnProperty 10210234.0 Ops/sec
bool 11276719.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;