ES6 Example1 Map operations ES6 RegExp toString() ES6 Map set() Operation ES6 Example1 Map operations var map = new Map(); map.set(1,true); console.log(map.has("1")); //false map.set("1",true); console.log(map.has("1")); //true ES6 RegExp toString() ES6 Map set() Operation