if (foo) var bar = function() {} else baz;