Run details:
Mozilla/5.0 (Linux; Android 8.0.0; F5121 Build/34.4.A.2.118) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.196 Mobile Safari/537.36 OPX/2.0
Chrome Mobile 114
Android 8.0.0
Mobile
one year ago
Test name Executions per second
undefined 1211188.4 Ops/sec
typeof 3981433.8 Ops/sec
in 3961810.8 Ops/sec
hasOwnProperty 2568944.0 Ops/sec
bool 2718611.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool