Run details:
Mozilla/5.0 (iPad; CPU OS 12_4_9 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1
Mobile Safari 12
iOS 12.4.9
Tablet
3 years ago
Test name Executions per second
undefined 854441.4 Ops/sec
typeof 2652139.0 Ops/sec
in 2787903.0 Ops/sec
hasOwnProperty 2774114.5 Ops/sec
bool 2653825.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;