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.

-Boris

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

Reply via email to