Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Chrome 61
Linux
Desktop
5 years ago
Test name Executions per second
undefined 3278026.8 Ops/sec
typeof 10092578.0 Ops/sec
in 9051485.0 Ops/sec
hasOwnProperty 9219691.0 Ops/sec
bool 10226504.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool