Created
February 24, 2020 23:15
-
-
Save manakuro/1cffccae3d50868ff24f4682a296c2a9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function double (x) { return x + x; } | |
function add (x, y) { return x + y; } | |
function boundScore (min, max, score) { | |
return Math.max(min, Math.min(max, score)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment