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
Asif Sheikh -
Long Nguyễn Xuân -
Mohamed Zahi -
Lakshmi Pritha Nadesan -
Top comments (0)