Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3900.0 Iron Safari/537.36
Chrome 75
Windows 7
Desktop
4 years ago
Test name Executions per second
undefined 2641026.5 Ops/sec
typeof 6746036.0 Ops/sec
in 6601838.0 Ops/sec
hasOwnProperty 5960888.5 Ops/sec
bool 6526305.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool