console.log(new Date(2019, 3, 11, 9))
console.log(new Date(2019, 4, 11, 9))
console.log(new Date(2019, 5, 11, 9))
console.log(new Date(2019, 6, 11, 9))
console.log(new Date(2019, 7, 11, 9))
console.log(new Date(2019, 8, 11, 9))
console.log(new Date(2019, 9, 11, 9))
console.log(new Date(2019, 10, 11, 9))
console.log(new Date(2019, 11, 11, 9))
here is the image for the output --> here is the image that shows the console output for all the time. It should all print out 9, but it displays 8 for some and then 9 for some, can someone please explain what is going on and why it is doing this and how to make it only display 9
it compiles the correct output on google chrome javascript,
but when running nodejs filemame on terminal that
output is the image shown above