()
| 1256 | |
| 1257 | // additional method to get all values in the map |
| 1258 | getAllValues(): ValueType[] { |
| 1259 | const values: ValueType[] = [] |
| 1260 | for (const key of this.keys()) { |
| 1261 | values.push(this.get(key)) |
| 1262 | } |
| 1263 | return values |
| 1264 | } |
| 1265 | } |
| 1266 | |
| 1267 | const customMap = new CustomMap() |
no test coverage detected