5 ms·
> e.g. sometimes foo + 1 === foo in JS if a is huge Superfluous use of the strict equality check there. An ordinary comparison (i.e. using `==` aka "double eq
by cxr 4y ago
> e.g. sometimes foo + 1 === foo in JS if a is huge
Superfluous use of the strict equality check there. An ordinary comparison (i.e. using `==` aka "double equals") is sufficient.