0

I have problem with understanding this code. I know what it do, but I dont understand the "+" after return.

function descendingOrder(n) {
    return +n.toString().split('').sort().reverse().join('');
}
Victor Silva
  • 175
  • 14
erysfv
  • 1

0 Answers0