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 :-) _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform