Created
March 20, 2019 23:16
-
-
Save marsrvr/af2cb949aa4890e3db842456ceeeddf1 to your computer and use it in GitHub Desktop.
IvanOnTech Academy Smart Contract Programming Eloquent JavaScript CH3 exercises min() function
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(a, b) { | |
if (a > b) | |
return b; | |
else | |
return a; | |
} // min() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment