Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-J337AZ Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.110 Mobile Safari/537.36
Chrome Mobile 70
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
undefined 416746.5 Ops/sec
typeof 1325402.6 Ops/sec
in 1184852.4 Ops/sec
hasOwnProperty 1165833.0 Ops/sec
bool 1316147.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool