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