Advertisement
TZinovieva

Largest Number JS Advanced

Sep 14th, 2023
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function largestNumber(num1, num2, num3) {
  2.     console.log(`The largest number is ${Math.max(num1, num2, num3)}.`);
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement