Javascript Map Over Empty Array Python Example For Client