Chapter 4 Lab 2 - Warning! Months aren't 0 indexed!

So I failed this assignment because I assumed the months would be 0 indexed (so October would be 9). This is not the case! October is 10. Maybe this should be made clear in the instructions?

Hi @Nadine_Grant,

Thanks for the feedback. May I know why you assumed it to be 0 indexed ?

~ Shubham

Hi Shubham,

Thanks for responding. I assumed because having months be 0 indexed is standard in JavaScript which is the language I primarily work with. Looking at it now, I should have checked and not assumed. But going into it at the time, it seemed natural to me for it to be 9 and not 10 for October.