/**

- @param {number[]} digits
- @return {number[]}

*/

var plusOne = function(digits) {

return (digits.reduce((a, b) => (a * 10 + b)) + 1).toString().split('').map(Number);

};

eg.

Input: [6,1,4,5,3,9,0,1,9,5,1,8,6,7,0,5,5,4,3],

Output: [6,1,4,5,3,9,0,1,9,5,1,8,6,7,0,6,0,0,0]