i am trying to extract specific data from an array object using keys but all the data gets returned? why is that? i want to print to the console all the values corresponding to the key genestart only
for (var i=0; i<genedata.matches.length;i++){
var arr = genedata.matches[i];
for (var key in arr){
var attrName=key;
var attrValue = arr[key];
//console.log(attrValue);
if (attrName='genestart'){
console.log(attrValue);
}
}
}