Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Mobile Safari/537.36
Chrome Mobile 127
Android
Mobile
3 months ago
Test name Executions per second
undefined 5015842.0 Ops/sec
typeof 12852750.0 Ops/sec
in 12841024.0 Ops/sec
hasOwnProperty 11752626.0 Ops/sec
bool 12806386.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool