Leetcode Insert Into Array Javascript Push Notifications