Ad
  • Custom User Avatar

    Excelente, best practice. I like codewars :D

    My past solution, after the method sort(), pass the type Object toString() and replace with regex.
    //code.split('').sort().toString().replace(/,/gi,'');