Run details:
Mozilla/5.0 (iPad; CPU OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/86.0.4240.77 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 86
iOS 14.0
Tablet
4 years ago
Test name Executions per second
undefined 3106847.0 Ops/sec
typeof 8799427.0 Ops/sec
in 8558959.0 Ops/sec
hasOwnProperty 8765251.0 Ops/sec
bool 8694998.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;