2010/3/31 Daniel Schwen <li...@schwen.de>:
>> ([8, 32, 189].sort()[0]) === (new Boolean(false) ? 189 : 8)
>
> Why such a contrived example?! This all boils down to
>
> new Boolean(false) == false
> returning true
>
> new Boolean(false) === false
> returning false
>
Not quite. There's also the issue of [8, 32, 189].sort() returning
[189, 32, 8]. The real fun is that a "sane" interpretation of both
operands yields 8 === 8 , which is true, whereas the expression really
evaluates to true via 189 === 189.

But I digress. We should indeed be talking about GSoC in this thread.

Roan Kattouw (Catrope)

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to