Javascript – How do I make an array that adds a day (number) in a specified increment, but follows the "rules" of a calendar?
Sorry for the sloppily worded title, but here is an example of what I want to achieve: //increment of 5 const daysOfMonthArray = [16, 21, 26, 31, 5, 10, 15, 20, 25, 30, 4, 9.....] I'm having a hard time…