When comparing two strings, like so:
'03-15-2019' < '03-16-2019'
I get a value of true, which is what I expect.
I'm curious to learn a little more about how this works though. Is this doing a comparison of two dates, or is there some other comparison going on that I don't quite see?
'5'.charCodeAt()is lower than'6'.charCodeAt()