26 Remove Duplicates from Sorted Array LeetСode (Google Interview Question) JavaScript