Let assume that I have the following json of config.
var config = {
   "type_1" : "Value 1",
   "type_2" : "Value 2",
   "type_3" : "Value 3",
   "type_4" : "Value 4",
}
How can I filter the value of type_2, which the key is created dynamically. Some thing like follow,
var number = 2;
 var value = config.type_+number;
 
     
     
    