Javascript Map clone
let original = new Map([ [1, 'one']/*from w w w . ja v a2s .c o m*/ ]); let clone = new Map(original); console.log(clone.get(1)); console.log(original === clone);