title: Javascript one line If...else...else if statement
body: <p>I know you can set variables with one line if/else statements by doing <code>var variable = (condition) ? (true block) : (else block)</code>, but I was wondering if there was a way to put an else if statement in there. Any suggestions would be appreciated, thanks everyone!</p>