suggesting a more optimal repeat implementation

see http://jsperf.com/string-prototype-repeat-polyfill for benchmarks