I have a structure like this:
var var1 = {
array1 : ['value1','value2', ...],
array2 : ['value3','value4', ...]
...
};
I need a javascript function to search values in this structure, and if exists,
this function will return the name of the array.
Live DEMO