I Have problem with JavaScript ES6 Map & Set
So, in the exercise, it asks me to run a list of employees and add a new employee, but when I run the code, the result is the same as the output, but it's still wrong. I think it's because not only the result is correct, the code is also correct. I have no idea where I have to fix it. This is the code I try to run: function main() { var name = readLine(); var position = readLine(); let employees = new Map([ ["Richard", "Developer"], ["Maria", "SEO Specialist"], ["Tom", "Product Manager"], ["David", "Accountant"], ["Sophia", "HR Manager"] ]); //add the new pair to the map let employeeName="Robert"; let employeePosition="Developer"; employees.set(employeeName,employeePosition ); for (var i of employees.entries()){ let[name,position ]=i; //your code for the output console.log(name+" : "+ position ); } }