Advertisement
-Annie-

BiggestIn3Numbers

May 26th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function biggestNumber(input) {
  2.     let a = input[0];
  3.     let b = input[1];
  4.     let c = input[2];
  5.  
  6.     console.log(Math.max(a, b, c));
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement