prototype Property (WeakMap)
Returns a reference to the prototype for a WeakMap object.
The weakmap argument is the name of a WeakMap object.
Use the prototype property to provide a base set of functionality to a class of objects. New instances of an object "inherit" the behavior of the prototype assigned to that object.
For example, to add a method to the WeakMap object that returns the value of the largest element of the WeakMap, declare the function, add it to WeakMap.prototype, and then use it.
Supported in the Internet Explorer 11 standards document mode. Also supported in Store apps (Windows 8.1 and Windows Phone 8.1). See Version Information. Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards. Not supported in Windows 8.