3 ms·
When you know ahead of time that the types don't need to be coerced: http://jsperf.com/triple-equals-vs-twice-equals/4 http://jsperf.com/triple-equals-vs-twice
by zachrose 15y ago
When you know ahead of time that the types don't need to be coerced:
http://jsperf.com/triple-equals-vs-twice-equals/4 http://jsperf.com/triple-equals-vs-twice-equals/4
There's even a negligible performance improvement, at least for me (iPad WebKit Safari).