* Clears the collection.
()
| 122 | * Clears the collection. |
| 123 | */ |
| 124 | removeAll() { |
| 125 | const array = this._array; |
| 126 | if (array.length > 0) { |
| 127 | this._hash = {}; |
| 128 | array.length = 0; |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | export default AssociativeArray; |
no outgoing calls
no test coverage detected