Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Mac OS X 10.12
Other
7 years ago
Test name Executions per second
undefined 168366080.0 Ops/sec
typeof 528980640.0 Ops/sec
in 36080464.0 Ops/sec
hasOwnProperty 43657768.0 Ops/sec
truthy 515028992.0 Ops/sec
local undef 264218208.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • truthy

  • local undef


;