Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
Chrome 65
Linux
Desktop
6 years ago
Test name Executions per second
undefined 3272863.5 Ops/sec
typeof 11738625.0 Ops/sec
in 10643660.0 Ops/sec
hasOwnProperty 10596706.0 Ops/sec
bool 12068441.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool