Run details:
Mozilla/5.0 (Linux; Android 10; SM-G973U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
4 years ago
Test name Executions per second
undefined 3231615.0 Ops/sec
typeof 9036808.0 Ops/sec
in 9040494.0 Ops/sec
hasOwnProperty 8270141.5 Ops/sec
bool 9104928.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;