JavaScript Days jusqu'à la fin du mois

let dateToday = new Date();
let lastDayOfMonth = new Date(dateToday.getFullYear(), dateToday.getMonth()+1, 0).getDate();
let daysUntilEndOfMonth = lastDayOfMonth - dateToday.getDate();
console.log(daysUntilEndOfMonth)
Ham-Solo