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