Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SAMSUNG SM-G935F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/11.2 Chrome/75.0.3770.143 Mobile Safari/537.36
Chrome Mobile 75
Android 8.0.0
Mobile
4 years ago
Test name Executions per second
undefined 1623491.2 Ops/sec
typeof 4303760.0 Ops/sec
in 4516980.5 Ops/sec
hasOwnProperty 4147768.5 Ops/sec
bool 4499843.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool