Array.apply(null, Array(7)).map((item, index) => ("Day" + index)); // ["Day0","Day1","Day2","Day3","Day4","Day5","Day6",] // -- OR -- Array.from({length: 7}, (item, index) => ("Day" + index)); // ["Day0","Day1","Day2","Day3","Day4","Day5","Day6",]