Run details:
Mozilla/5.0 (Linux; Android 7.0; Moto G (5) Plus Build/NPNS25.137-92-14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.126 Mobile Safari/537.36
Chrome Mobile 66
Android 7.0
Mobile
6 years ago
Test name Executions per second
undefined 533018.8 Ops/sec
typeof 1716868.6 Ops/sec
in 1710392.2 Ops/sec
hasOwnProperty 1655299.5 Ops/sec
bool 1876215.8 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool