Skip to content

Instantly share code, notes, and snippets.

@thetallweeks
Last active December 26, 2015 18:08
Show Gist options
  • Save thetallweeks/7191670 to your computer and use it in GitHub Desktop.
Save thetallweeks/7191670 to your computer and use it in GitHub Desktop.
function CheckNums(num1,num2) {
if(num2 > num1) {
return true;
} else if(num1 === num2) {
return -1;
} else {
return false
}
}
// keep this function call here
// to see how to enter arguments in JavaScript scroll down
CheckNums(readline());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment