how to update map value in javascript code example
Example 1: initialize a map js
let map = new Map()
map['bla'] = 'blaa'
map['bla2'] = 'blaaa2'
console.log(map) // Map { bla: 'blaa', bla2: 'blaaa2' }
Example 2: javascript map ket to value
m.set('color', 'red')
m.set('age', 2)