Javascript Map Over Empty Array Codeforces Practice Set 16