1 2 toString called toString called 3 toString called true toString called true toString called true toString called undefined a b toString called c toString called 3 toString called toString called undefined 3 undefined 1 false true true 1 true undefined 1 undefined true false true 1 true undefined