3 ms·
Do this in javascript all the time. Adding a `+ ""` forces the object to become a string. Though not sure why it was required for this particular comparison.
by statictype 13y ago
Do this in javascript all the time.
Adding a `+ ""` forces the object to become a string.
Though not sure why it was required for this particular comparison.