Hey folks, I’m presently working on extending JUCE’s Javascript interpreter (more for the fun of it and learning the language).
It looks like juce::var is missing the operators <, <=, >, and >=. Implementing them should be mostly straightforward I think? It would also jive better with C++'s equivalent std::variant.
From my understanding from poking around the ECMA script standard and looking at duktape (a nearly fully compliant JS interpreter that’s open source), basically in circumstances that don’t make sense to compare you have to return undefined.
