tableau de date javascript
const pastWeek = [...Array(7).keys()].map(days => new Date(Date.now() - 86400000 * days))
Jaimin Patel
const pastWeek = [...Array(7).keys()].map(days => new Date(Date.now() - 86400000 * days))