Run details:
Mozilla/5.0 (Linux; Android 11; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
undefined 2024113.0 Ops/sec
typeof 5747666.5 Ops/sec
in 5764665.0 Ops/sec
hasOwnProperty 5296481.0 Ops/sec
bool 5734764.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;