I came across the fact, that when you compare dates in JavaScript, the following happens:
$ new Date() > null
> true
$ new Date() > undefined
> false
I was wondering, what exactly happens under the hood, that leads to this behavior.
I came across the fact, that when you compare dates in JavaScript, the following happens:
$ new Date() > null
> true
$ new Date() > undefined
> false
I was wondering, what exactly happens under the hood, that leads to this behavior.
Copyright © 2021 Jogjafile Inc.