JavaScript Obtenha dados do hashmap

mydata = mymap.get(key).dataType

//Example
carColor = carHashMap.get(licensePlate).color
Flyhouse_Squarewheel