ParentFull threadvespakoen·The array + join is slowerhttp://jsperf.com/leftpadtestingRepeat + slice is toohttp://jsperf.com/leftpadView on HN