-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Description
I'm surprised no one uncovered that here:
new Date(10) == new Date(10) // false
new Date(10) < new Date(11) // true
new Date(11) > new Date(12) // false
new Date(11) > new Date(10) // trueTwo object instances are always unequal. But they decided to overload operator < and > for Date and not ==. This renders the whole thing useless.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels