We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I was surprised to see so many uses of map in this discussion. The problem repeatedly states to modifynums. I assumed that meant map was off limits as it returns a new array. However, I can see how use of map would better demonstrate the value of =>, but I don't see how this problem would guide anyone in that direction.
Day 5: Arrow Functions
You are viewing a single comment's thread. Return to all comments →
I was surprised to see so many uses of
map
in this discussion. The problem repeatedly states to modifynums
. I assumed that meantmap
was off limits as it returns a new array. However, I can see how use ofmap
would better demonstrate the value of=>
, but I don't see how this problem would guide anyone in that direction.