JSFiddle - React, Tailwind, and code Playground

by Denis Plotnikov

JavaScript

console.clear();
var x = new Map ();
x.set('one', { a : 1, b : 2, c : 3});
x.set('two', { a : 21, b : 22, c : 23});
x.set('three', { a : 31, b : 32, c : 33});
console.log(x);

x.forEach( function(value,key){
  value.a = value.a * 10;
	//console.log(key,value);
})

console.log(x);