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