Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Mac OS X 10.15.7
Desktop
10 days ago
Test name Executions per second
undefined 119628232.0 Ops/sec
typeof 167676672.0 Ops/sec
in 166039568.0 Ops/sec
hasOwnProperty 47412796.0 Ops/sec
bool 168721728.0 Ops/sec
keys 6442872.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • keys