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

Delete convert_number_to_reversed_array_of_digits.js

parent 1d2e8aca
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