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