ES6 Map get() Operation ES6 Map set() Operation ES6 set() Replaces Key ES6 Map get() Operation var roles = new Map([ ['r1', 'User'], ['r2', 'Guest'], ['r3', 'Admin'], ]); console.log(roles.get('r2')) ES6 Map set() Operation ES6 set() Replaces Key