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 403199.1 Ops/sec
typeof 1273243.1 Ops/sec
in 1146707.9 Ops/sec
hasOwnProperty 1128026.5 Ops/sec
bool 1219373.8 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool