Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sortNumbers1(a, b, c) {
- let arr = [a, b, c]
- arr.sort((a, b) => b - a)
- console.log(`${arr[0]}\n${arr[1]}\n${arr[2]}`)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement