Advertisement
Spocoman

04. Biggest of 3 Numbers

Jan 19th, 2022
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Решение с тернарен оператор:
  2.  
  3. function solve(first, second, third) {
  4.  
  5.     console.log( first > second && first > third ? first : second > first && second > third ? second : third);
  6.  
  7. }
  8.  
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement