how to use map to map a certain amount of data in javascript code example
Example: map in javascript
['elem', 'another', 'name'].map((value, index, originalArray) => {
console.log(.....)
});
['elem', 'another', 'name'].map((value, index, originalArray) => {
console.log(.....)
});