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 1430687.5 Ops/sec
typeof 4157968.8 Ops/sec
in 3809936.5 Ops/sec
hasOwnProperty 3723995.2 Ops/sec
bool 4174832.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;