Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/109.0 Mobile/15E148 Safari/605.1.15
Mobile Safari 16
iOS 16.1
Mobile
one year ago
Test name Executions per second
undefined 10405317.0 Ops/sec
typeof 29058602.0 Ops/sec
in 28113838.0 Ops/sec
hasOwnProperty 26595166.0 Ops/sec
bool 27258196.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool