Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/128.0.6613.98 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 128
iOS 17.6
Mobile
3 months ago
Test name Executions per second
undefined 13694841.0 Ops/sec
typeof 40674016.0 Ops/sec
in 37408256.0 Ops/sec
hasOwnProperty 37452332.0 Ops/sec
bool 36471480.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool