* Returns a shallow copy of the values of the map. * @returns {Array. }
()
| 608 | * @returns {Array.<Host>} |
| 609 | */ |
| 610 | values() { |
| 611 | if (!this._values) { |
| 612 | // Cache the values |
| 613 | this._values = Object.freeze(Array.from(this._items.values())); |
| 614 | } |
| 615 | |
| 616 | return this._values; |
| 617 | } |
| 618 | |
| 619 | /** |
| 620 | * Removes all items from the map. |
no test coverage detected