What is the output of the below JavaScript?
var currDate = new Date("30 September, 2011");
alert(currDate.getMonth());
Reveal answer
Fill a bubble to check yourself
What is the output of the below JavaScript?
var currDate = new Date("30 September, 2011");
alert(currDate.getMonth());