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
  • 306
  • 2
  • 15
erysfv
  • 1

0 Answers0