Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A6000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
undefined 2184838.2 Ops/sec
typeof 6162865.5 Ops/sec
in 6219388.0 Ops/sec
hasOwnProperty 5505726.5 Ops/sec
bool 6271851.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;