Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Chrome 74
Linux
Desktop
5 years ago
Test name Executions per second
undefined 4746416.5 Ops/sec
typeof 14988164.0 Ops/sec
in 15202550.0 Ops/sec
hasOwnProperty 13711987.0 Ops/sec
bool 15248433.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;