4 ms·
Then there's good old IE 11: foo = new Date(2018, 6, 100); [date] Mon Oct 08 2018 00:00:00 GMT-0400 (Eastern Daylight Time)
by cafard 7y ago
Then there's good old IE 11:
foo = new Date(2018, 6, 100);
[date] Mon Oct 08 2018 00:00:00 GMT-0400 (Eastern Daylight Time)
- gmiller123456 7y agoWhat is it about this that you find odd? I just tested it in Chrome and it provides the same answer. I'm pretty sure this is the documented behavior.