Run details:
Mozilla/5.0 (Linux; Android 11; Mi 9T Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
undefined 2194993.8 Ops/sec
typeof 6594680.5 Ops/sec
in 6623754.5 Ops/sec
hasOwnProperty 6256625.5 Ops/sec
bool 6641947.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool