Commit e6f31cf2 authored by Mike John Herter's avatar Mike John Herter

Add new file

parent 4530af1c
function convert(num) {
let numS=num.toString().split("").sort().reverse()
return numS
}
console.log(convert(429563)) // => [9, 6, 5, 4, 3, 2]
console.log(convert(324)) // => [4, 3, 2]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment