Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Windows 7
Desktop
6 years ago
Test name Executions per second
undefined 103216480.0 Ops/sec
typeof 275397440.0 Ops/sec
in 166457280.0 Ops/sec
hasOwnProperty 141468640.0 Ops/sec
bool 299191360.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool