jletts·6 yıl önce·discussmap(lambda x:x^2, filter(lambda x:x%6==0, map(lambda x: x*2, getNumbers())))Would probably be a more pythonic way to do that, avoiding list comprehensions. Easier to read with added lines and indentation.But tbf I do appreciate the ability to chain operations in JS without subclassing objects like list.
jletts·6 yıl önce·discussThis is absolutely fantastic. I feel that it’s a really good way to judge the progression in each country, putting a more context to the numbers we hear on the news.