Skip to content

Instantly share code, notes, and snippets.

@CarlLee
Created July 22, 2016 05:21
Show Gist options
  • Save CarlLee/211a4e6ace7e1ad40befd25be4a6ea19 to your computer and use it in GitHub Desktop.
Save CarlLee/211a4e6ace7e1ad40befd25be4a6ea19 to your computer and use it in GitHub Desktop.
function sumTwoLargerNum(a, b, c){
var min = a <= b ? a : b;
min = min <= c ? min : c;
return a + b + c - min;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment