Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.103 Safari/537.36 Vivaldi/2.1.1337.47
Chrome 70
Linux
Desktop
5 years ago
Test name Executions per second
undefined 2628525.2 Ops/sec
typeof 8837878.0 Ops/sec
in 7185521.5 Ops/sec
hasOwnProperty 7086191.0 Ops/sec
bool 8215190.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;