JavaScript simple iterative solution faster than 92.65% (72ms)
\nvar plusOne = function(digits) {    \n    for (let i = digits.length - 1; i >= 0; i--) {\n        if (digits[i] !== 9) {\n            digits[i]++;\n          
```\nvar plusOne = function(digits) {    \n    for (let i = digits.length - 1; i >= 0; i--) {\n        if (digits[i] !== 9) {\n            digits[i]++;\n            return digits;\n        }\n        digits[i] = 0;\n        if (i === 0) {\n            digits.unshift(1);\n            return digits;\n        }\n    }\n};\n```
['Iterator', 'JavaScript']