Removes any value associated to the keys. Returns true if an element in the MKWeakMap object has been removed successfully.
const obj = {};
const mkWeakMap = new MKWeakMap([[obj, 'foo']]);
mkWeakMap.delete([obj]); // => true
mkWeakMap.delete([obj]); // => false
Returns a Boolean asserting whether a value has been associated to the keys in the MKWeakMap object or not.
const obj = {};
const mkWeakMap = new MKWeakMap([[obj, 'foo']]);
mkWeakMap.has([obj]); // => 'true'
Creates a new MKWeakMap object.
Could be called with initial keys-values