Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-G930F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36
Chrome Mobile 78
Android 7.0
Mobile
5 years ago
Test name Executions per second
undefined 1145050.1 Ops/sec
typeof 3464118.8 Ops/sec
in 3487572.8 Ops/sec
hasOwnProperty 3051956.2 Ops/sec
bool 3468612.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool