Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/95.0.4638.50 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 95
iOS 14.8
Mobile
3 years ago
Test name Executions per second
undefined 4101754.0 Ops/sec
typeof 11778346.0 Ops/sec
in 11821482.0 Ops/sec
hasOwnProperty 11391656.0 Ops/sec
bool 11703690.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool