3 ms·
Here, test it. If you test it multiple time you get slightly different results. Both seem to be similar. You would have to ask the author why they went with t
by Raphmedia 7y ago
Here, test it. If you test it multiple time you get slightly
different results. Both seem to be similar. You would have to ask the author why they went with the regex solution to know why they chose that one. Knowing Javascript, there's probably a pitfall we are not thinking about.
http://jsben.ch/uFK8t http://jsben.ch/uFK8t