Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53
Chrome 101
Windows
Desktop
one year ago
Test name Executions per second
undefined 6433274.0 Ops/sec
typeof 17364440.0 Ops/sec
in 17283890.0 Ops/sec
hasOwnProperty 16380470.0 Ops/sec
bool 17204840.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool