r/programmingchallenges • u/codeSTACKr • Jan 14 '20
JavaScript Array Map Method In 90 Seconds #JavaScriptJanuary
https://youtu.be/Bjl_19rV_FY
9
Upvotes
r/programmingchallenges • u/codeSTACKr • Jan 14 '20
View all comments
Show parent comment
1
u/codeSTACKr Jan 15 '20
All callbacks should return a value if written properly. But callbacks are functions and functions don't have to return a value.
So basically use the right tool for the job..