globalsMap()prototypeMap.prototype.clear()Version: 3.28.0On this pageMap.prototype.clear()The clear() method removes all elements from a Map object.Syntaxclear()Return valueundefined.