2 ms·
Irrelevant much? He can just use indexOf != -1 and it will work both in old and new browsers. And whatever JS includes or doesn't include, he should use ONE bl
by coldtea 11y ago
Irrelevant much? He can just use indexOf != -1 and it will work both in old and new browsers.
And whatever JS includes or doesn't include, he should use ONE bloody library, like Lodash to fill in the gaps, instead of some micro-monstrosity like "left-pad".