Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Решение с тернарен оператор:
- function solve(first, second, third) {
- console.log( first > second && first > third ? first : second > first && second > third ? second : third);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement