Tag Archives: map
Map vs forEach in JavaScript – What Is the Difference?
One of my most loved functions in JavaScript might be map() and forEach. They both started to exist since ECMAScript 5, ores5 in short. On that post, I am going to talk about the main difference between each and show you some examples of their usages. Basically, looping over an object in JavaScript counts on whether or not the […]