(that, key, value)
| 1684 | }, collectionMethods); |
| 1685 | |
| 1686 | function defWeak(that, key, value){ |
| 1687 | if(isFrozen(assertObject(key)))leakStore(that).set(key, value); |
| 1688 | else { |
| 1689 | has(key, WEAK) || hidden(key, WEAK, {}); |
| 1690 | key[WEAK][that[UID]] = value; |
| 1691 | } return that; |
| 1692 | } |
| 1693 | function leakStore(that){ |
| 1694 | return that[LEAK] || hidden(that, LEAK, new Map)[LEAK]; |
| 1695 | } |
no test coverage detected