Leetcode Plus One Solution Javascript Tutorialspoint