12 ms·
The array + join is slower http://jsperf.com/leftpadtesting http://jsperf.com/leftpadtesting Repeat + slice is too http://jsperf.com/leftpad http://jsperf.co
by vespakoen 11y ago
The array + join is slower
http://jsperf.com/leftpadtesting http://jsperf.com/leftpadtesting
Repeat + slice is too
http://jsperf.com/leftpad http://jsperf.com/leftpad