const repeatString = function(word, times) {
let arr = [];
for (let i = 0; i < times; i++) {
arr.push(word);
}
return arr.join('');
module.exports = repeatString