Find Smallest Positive Number Leetcode Javascript