Ad
  • Default User Avatar

    My solution passes on replit js but doesn't on here :( I'm wondering why that is:

    function upArray(arr){
    return (parseInt(arr.join(""))+1).toString().split("")
    }