js maping ke code example
Example 1: nodejs map
let wrongMap = new Map()
wrongMap['bla'] = 'blaa'
wrongMap['bla2'] = 'blaaa2'
console.log(wrongMap) // Map { bla: 'blaa', bla2: 'blaaa2' }
Example 2: map in javascript
['elem', 'another', 'name'].map((value, index, originalArray) => {
console.log(.....)
});