I have gone through the map and filter functionalities and got to know that there is some kind of differences and advantages over for and foreach.
Advantages:
No need to write too much of code and very clear understanding
Better performance compare to iteration
how map and filter will be the better performance ?
appreciate any kind of suggestions.