JavaScript mendapatkan data dari hashmap

mydata = mymap.get(key).dataType

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