* Returns the visible keys as a `Set` after collapsing the stack. * @returns {Set<K>} set of keys
()
| 166 | * @returns {Set<K>} set of keys |
| 167 | */ |
| 168 | asSet() { |
| 169 | this._compress(); |
| 170 | return new Set(this.map.keys()); |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Returns visible key/value pairs using the external representation. |
no test coverage detected