i have following json object which i get from API end point
  let myjson = { Team1: { SCORE: 10 } }
i want to access the score inside Team but not able to complete as i need to just the result as 10
i have tried following code but not able to get the result
 for(var attribute name in JSON.parse(myjson)){
        return  console.log(attributename+": "+body[attributename]);
    }
i also used bellow code
const userStr = JSON.stringify(myjson);
 JSON.parse(userStr, (key, value) => {
 if (typeof value === 'string') {
 return value.toUpperCase();
 }
return value;
 });
 
     
     
     
    