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