On 07/06/2014 03:40, Ehsan Akhgari wrote:
On 2014-06-06, 4:11 PM, Boris Zbarsky wrote:
On 6/6/14, 3:19 PM, Ehsan Akhgari wrote:
Can we make is() do those checks explicitly and if neither of these
cases apply, fall back to a non-strict equality check?

Yes.  As in, we could make it special-case the number-to-string compare
and use == for that, and use === for everything else.

r=me :-)

Indeed. I'm happy to review and/or help write patches for tests that still need updating because of other reasons (of which there still seem to be a few, like the location == string thing).

~ Gijs

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to