I am facing an issue with a Map that has "String" as keys and "Array" as values. My problem is figuring out how to check if an array item is present in a different "Array" value, specifically in the "Array" of a different key within the map.
For example:
var map = {
"KeyA" : [123,111,100],
"KeyB" : [147,123,789]
}
I need to find a way to determine if the array item 123 exists in two different arrays under keys KeyA and Key B.
Best regards, Abhi