Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Chrome 56
Windows 7
Desktop
5 years ago
Test name Executions per second
undefined 2276632.8 Ops/sec
typeof 7430707.0 Ops/sec
in 7227756.5 Ops/sec
hasOwnProperty 7238350.0 Ops/sec
bool 7591473.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool