I have created a map object
var map_obj = new Map();
map_obj.set({'a':2, 'b':3}, {'c': 4});
now when i tried to use .delete operator
map_obj.delete({'a':2, 'b':3})
It is showing me false and key and value are not deleted. It can be that It is checking for object reference and creating a new object so can't find the equal object. In MDN guide, it is said key can be of any type. So what's happening here and what would be the right way to delete the key ?
This is how delete process is defined in es-6