ES6 Map set() Operation ES6 Example1 Map operations ES6 Map get() Operation ES6 Map set() Operation var roles = new Map(); roles.set('r1', 'User') .set('r2', 'Guest') .set('r3', 'Admin'); console.log(roles.has('r1')) ES6 Example1 Map operations ES6 Map get() Operation