Code Smell 84 - Max < Min (Javascript)
Some functions do not behave as expected. Sadly, most programmers accept them.
TL;DR: Don't trust max() and min() functions. Just ignore them.
Problems
Principle of least astonishment
Bijection Violation.
Unexpected Results
Solutions
Use matu...
maximilianocontieri.com1 min read