JavaScript: Remove Duplicates From Sorted Array in Place
Challenge Picked From LeetCode’s Top Interview Questions List

Today, we will work on Remove Duplicates from Sorted Array algorithm from LeetCode’s Top Interview Questions List:
Given a sorted array nums, remove the duplicates in-place such that each element appears only once and returns the new length.