Closed hawkfish closed 2 years ago
In another bit of JavaScript ugliness, it appears that == and != do not work as expected for Date objects. In fact, they don't work for ANY Objects! To fix this, we have to check for the valueOf method and use instead.
valueOf
In another bit of JavaScript ugliness, it appears that == and != do not work as expected for Date objects. In fact, they don't work for ANY Objects! To fix this, we have to check for the
valueOf
method and use instead.