TZinovieva

Smallest Of Three Numbers JS

Feb 1st, 2023 (edited)
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function smallestOfThreeNumbers(num1, num2, num3) {
  2.     let minNum = Math.min(num1, num2, num3);
  3.     console.log(minNum);
  4. }
Advertisement
Add Comment
Please, Sign In to add comment