const myArray = [ '3:00', '4:00']
const repeat = (a, n) => Array(n).fill(a).flat(1)
console.log( repeat(myArray, 3) )
For further actions, you may consider blocking this person and/or reporting abuse
const myArray = [ '3:00', '4:00']
const repeat = (a, n) => Array(n).fill(a).flat(1)
console.log( repeat(myArray, 3) )
For further actions, you may consider blocking this person and/or reporting abuse
Ayoola Damilare -
Andrea Méndez Ortiz -
Hanzla Baig -
Radha -
Top comments (0)