Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36
Chrome 102
Linux
Desktop
one year ago
Test name Executions per second
undefined 4377842.0 Ops/sec
typeof 12804560.0 Ops/sec
in 12839200.0 Ops/sec
hasOwnProperty 10995360.0 Ops/sec
bool 13016540.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool