Mobile Numeric Keypad Leetcode Problems Javascript Array Filter