JSFiddle - React, Tailwind, and code Playground
JavaScript
// Your task is to make a function that can take any non-negative integer as an argument and return it with its digits in descending order. Essentially, rearrange the digits to create the highest possible number. (example: 34598 -> 98543, 735 -> 753)