Comment Comment by tyilo > Invalid Date is just a Date with the "Unix epoch timestamp" of NaN. It also follows NaN comparison logic: > > > invalid === new Date(NaN) > falseThis is just because a JS Date is an object and have nothing to do with the inner representation. > new Date(0) === new Date(0) false parent tyilo 9 months ago
This is just because a JS Date is an object and have nothing to do with the inner representation.