I am trying to get a better understanding of the jQuery.map function.
So in general terms .map takes a array and maps it to another array of items.
results in [4,5,6]
I think I understand what it does. I want to under why would someone need it. What is the practical use of this function? How are you using this in your code?