function solution(my_string, n) {
let answer = [];
my_string.split('').forEach(str => {
answer.push(str.repeat(n));
})
return answer.join('')
}
function solution(my_string, n) {
var answer = [...my_string].map(v => v.repeat(n)).join("");
return answer;
}