JavaScript obtenga datos de HashMap

mydata = mymap.get(key).dataType

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