Easy Solution JavaScript ✅
\n/**\n * @param {number[]} digits\n * @return {number[]}\n */\nvar plusOne = function(arr) {\n    for(let i=arr.length-1; i>=0; i--){\n        if(arr[i]<9){\n 
```\n/**\n * @param {number[]} digits\n * @return {number[]}\n */\nvar plusOne = function(arr) {\n    for(let i=arr.length-1; i>=0; i--){\n        if(arr[i]<9){\n            arr[i]++;\n            return arr;\n        }\n        arr[i] = 0;\n    }\n    arr.unshift(1);\n    return arr;\n};\n```
['JavaScript']