Simple addition
Given a number, increase the number by 1 and return a new value.
Sample Code:
function plusOne(num) {
// Enter your logic here...
}
Examples:
Input: 1
Output: 2
Explanation: 1 + 1 = 2
Input: -999
Output: -998
Explanation: -999 + 1 = -998