Run details:
Mozilla/5.0 (Linux; Android 10; EVR-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
Chrome Mobile 81
Android
Mobile
3 years ago
Test name Executions per second
undefined 1794573.0 Ops/sec
typeof 4405013.0 Ops/sec
in 4429191.0 Ops/sec
hasOwnProperty 4210077.0 Ops/sec
bool 4441118.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool