Yngvarr

Generation

generate functionMon, 26 Dec 2022

массив из дат месяца

function getDaysInMonth(month, year) { return new Date(year, month, 0).getDate(); } getDaysInMonth(1, 2020)

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant