Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Redmi Note 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36
Chrome Mobile 73
Android 8.1.0
Mobile
5 years ago
Test name Executions per second
undefined 1423956.9 Ops/sec
typeof 4156896.5 Ops/sec
in 3810363.8 Ops/sec
hasOwnProperty 3723817.5 Ops/sec
bool 4149536.8 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;