* @return {Array<*>} An array containing all the values of tree's nodes paired * with keys.
()
| 176 | * with keys. |
| 177 | */ |
| 178 | exportKeysAndValues() { |
| 179 | const result = []; |
| 180 | this.traverse_(function(node) { result.push([node.key, node.value]); }); |
| 181 | return result; |
| 182 | } |
| 183 | |
| 184 | /** |
| 185 | * @return {Array<*>} An array containing all the values of tree's nodes. |
no test coverage detected