Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Pixel 2 XL Build/OPM2.171026.006.H1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36
Chrome Mobile 69
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
undefined 1781157.6 Ops/sec
typeof 5518187.0 Ops/sec
in 5123279.0 Ops/sec
hasOwnProperty 5027995.5 Ops/sec
bool 5613551.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool