Leetcode First Missing Integer Leetcode Javascript Problems