Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.133 Safari/537.36
Chrome 100
Windows 7
Desktop
2 years ago
Test name Executions per second
undefined 1755674.2 Ops/sec
typeof 5029237.0 Ops/sec
in 5106536.0 Ops/sec
hasOwnProperty 4720002.5 Ops/sec
bool 5100594.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool