I would like to have an array with dates of this current week and the next week. I tried to implement this with a for loop and a while loop but didn't succeed at the moment
getTwoWeeks = () => {
    let twoWeeks = [];
    let days = 14;
    let today = new Date;
    let calcFirst = today.getDate() - today.getDay();
    let firstDayOfWeek = new Date(today.setDate(calcFirst));
    for(let i=0; i<days; i++) {
        twoWeeks.push( new Date(today.setDate(firstDayOfWeek + days[i])) )
    }
    console.log('twoWeeks===',twoWeeks )
}