Created
February 6, 2019 23:38
-
-
Save Elergy/7a3af706bd2326eba8b37086e1a4c0c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// before | |
function isOutsideInterval(value, minimum, maximum, limits) { | |
return value < limits.minimum || value > maximum; | |
} | |
// after | |
function isOutsideInterval(value, minimum, maximum, limits) { | |
return value < limits.minimum || value > limits.maximum; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment