Run details:
Mozilla/5.0 (Linux; Android 9; SM-G960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36
Chrome Mobile 74
Android
Mobile
5 years ago
Test name Executions per second
undefined 1366478.6 Ops/sec
typeof 3883868.5 Ops/sec
in 3880873.0 Ops/sec
hasOwnProperty 3488001.8 Ops/sec
bool 3880239.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool