()
| 82 | } |
| 83 | |
| 84 | clear() { |
| 85 | if (this.size === 0) { |
| 86 | return this; |
| 87 | } |
| 88 | if (this.__ownerID) { |
| 89 | this.size = 0; |
| 90 | this._root = null; |
| 91 | this.__hash = undefined; |
| 92 | this.__altered = true; |
| 93 | return this; |
| 94 | } |
| 95 | return emptyMap(); |
| 96 | } |
| 97 | |
| 98 | // @pragma Composition |
| 99 |
nothing calls this directly
no test coverage detected