Both map and filter do not modify the array. Instead they return a new array of the results. Because both map and filter return Arrays, we can chain these functions together to build complex array transformations with very little code. Finally we can…
参考python built-on function: http://docs.python.org/2.7/library/functions.html?highlight=map%20reduce map(function, iterable, ...) Apply function to every item of iterable and return a list of the results. If additional iterable arguments are passed, …