utils.js 134 Bytes
"use strict";
function replicateStr(str, numTimes) {
    return Array(numTimes + 1).join(str);
}
exports.replicateStr = replicateStr;