Leetcode Insert Into Array Javascript Example External