XaviScript – Technologist & Human

Breathing in as programmer, breathing out as designer. Disruptive thinking!

map

Map and Reduce functions in JavaScript

Hi everyone, today I’m going to explain how to use two of the greatest functions to work with arrays in JavaScript: reduce and map. So let’s go to the example. Array.prototype.map (callback [, thisArg]) Map is a function that allow us creating a new array result of operate with other array elements. The resulting array […]

Scroll to top