The conditional operator has a higher precedence, so it sees it as:

(something || somethingElse) ? this: that;



On Wed, May 18, 2011 at 2:10 PM, mooyah <[email protected]> wrote:

> true-ish value 1 || true-ish value 2 should be equal to true-ish value
> 1.... but look at this example!
>
> See jsfiddle: http://jsfiddle.net/mooyah/F5U4j/
>
> What is going on here that I'm missing?
>

Reply via email to