javascript map with key value code example Example: javascript map ket to value m.set('color', 'red') m.set('age', 2)