Plus One Leetcode Solution Javascript Code For A Simple