Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.474 Safari/537.36 OPR/44.0.2216.231
Opera 44
Windows
Desktop
6 years ago
Test name Executions per second
undefined 827118.6 Ops/sec
typeof 2629722.8 Ops/sec
in 1959512.1 Ops/sec
hasOwnProperty 1928172.1 Ops/sec
bool 2299535.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;