Ad
  • Default User Avatar

    Hi, why does this solution not work: parseInt(String(n).split('').map(Number).sort((a, b) => b - a).join('')) ? I am not understainding why it can't be used.