Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 364 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 364 Bytes

Map function

  • For an alternative approach that’s based in functional programming, you can use map(). You pass in a function and an iterable, and map() will create an object. This object contains the result that you’d get from running each iterable element through the supplied function.

Examples