A Pen by webinsation on CodePen.
Created
January 26, 2015 20:32
-
-
Save webinsation/6a7a0df92422fc534d75 to your computer and use it in GitHub Desktop.
jEwJZx
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
function min(value1, value2) { | |
if (value1 < value2) { | |
return value1; | |
} else { | |
return value2; | |
} | |
} | |
console.log(min(0,10)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment