globalsMap()prototypeMap.prototype.clear()Version: 3.45.0On this pageMap.prototype.clear() The clear() method removes all elements from a Map object. Syntax clear() Return value undefined.