Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.5000.0 Iron Safari/537.36
Chrome 98
Windows 7
Desktop
8 months ago
Test name Executions per second
undefined 2807560.0 Ops/sec
typeof 7757522.5 Ops/sec
in 7660080.5 Ops/sec
hasOwnProperty 6998288.5 Ops/sec
bool 7495311.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;