Domanda di colloquio di Terminus

write a function to reverse a hashmap/object. so set the values as properties and properties as values