I have a map with integers as its keys and arrays as its values. I\'m trying to find the key from the value using the function below but it returns undefined. Is there a po