Last active
February 6, 2019 23:30
-
-
Save Elergy/a0fb15745c740202798878ed2014a0f3 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) { | |
return value < minimum || value > maximum; | |
} | |
// after | |
function isOutsideInterval(value, minimum, maximum, limits) { | |
return value < minimum || value > maximum; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment