Javascript Solution:66
\n/**\n * @param {number[]} digits\n * @return {number[]}\n */\nlet plusOne = function(digits) {\n    for(let i=digits.length-1;i>=0;i--){\n        digits[i]++;
```\n/**\n * @param {number[]} digits\n * @return {number[]}\n */\nlet plusOne = function(digits) {\n    for(let i=digits.length-1;i>=0;i--){\n        digits[i]++;\n        if(digits[i]>9){\n            digits[i]=0;\n        }\n        else{\n            return digits;\n        }\n    }\n    digits.unshift(1);\n    return digits;\n};\n```\n**Runtime: 72 ms, faster than 83.48% of JavaScript online submissions for Plus One.**\n\n**Memory Usage: 37 MB, less than 9.82% of JavaScript online submissions for Plus One.**\n\n**Feedback Appreciated**
['JavaScript']