You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace .map() with .forEach() in JavaScript (#1347)
The code is not mapping the data to a new array. It was being used for
iteration only. Therefore, forEach() is the more appropriate function
which does not build a new Array.
0 commit comments