Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Mac OS X 10.13.4
Desktop
one year ago
Test name Executions per second
undefined 5273924.0 Ops/sec
typeof 16684270.0 Ops/sec
in 16808866.0 Ops/sec
hasOwnProperty 15004597.0 Ops/sec
bool 16894580.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool