livescript-next icon indicating copy to clipboard operation
livescript-next copied to clipboard

`<?` and `>?` fail for comparing non-number values

Open pepkin88 opened this issue 7 years ago • 0 comments

Use cases:

  • string comparison (alphabetic ordering)
  • date comparison
  • utilizing valueOf of objects

I can always use Math.min in my code if I want, but I cannot simply use <? and >? (+ assignment versions) from the original LiveScript.

pepkin88 avatar Feb 18 '18 14:02 pepkin88