David Gonzalez
Apr 28, 2023

--

Map method will generate a new list, and map each items before adding them to that new list. For loop just iterate... I don't think this is relevant to compare them, because their purpose are different...

--

--

David Gonzalez
David Gonzalez

Written by David Gonzalez

Hi, I’m David, a french mobile applications developer. As a freelance, I work on Android and iOS applications since 2010. I also work on Flutter now !

Responses (1)