WTF does this code do?
benvan.co.uk
benvan.co.uk
var angry = say('Garrrr!')
// what should I say?
(amIHappy ? happy : angry)()
into this: var angry = say('Garrrr!')(amIHappy ? happy : angry)()http://jsfiddle.net/CxUXh/ works fine in Chrome, changing the console.log to an alert.
Not that I'm advocating omitting semicolons!
I'm getting a linter.