Javascript Map Over Empty Array Python Example Of A Define