utils.js 134 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 "use strict"; function replicateStr(str, numTimes) { return Array(numTimes + 1).join(str); } exports.replicateStr = replicateStr;