https://jsfiddle.net/c0ne2Lrv/8/
you will find the answer here.
const game = {
title: "YS",
developer: "Falcom",
releases: {
"Oath In Felghana": ["USA", "Japan"],
"Ark Of Napishtim": {
US: "20 USD",
JAP: "10 USD",
},
Origin: "30 USD",
},
};
({
title: t,
developer: d,
releases: {
"Oath In Felghana":[u,j],
"Ark Of Napishtim":{US:u_price, JAP:j_price},
Origin:or
}
} = game);
[o,a,] = Object.keys(game.releases);
// Write Your Destructuring Assignment/s Here
console.log(`My Favourite Games Style Is ${t} Style`);
// My Favourite Games Style Is YS Style
console.log(`And I Love ${d} Games`);
// And I Love Falcom Games
console.log(`My Best Release Is ${o} It Released in ${u} and ${j}`);
// My Best Release Is Oath In Felghana It Released in USA & Japan
console.log(`Although I Love ${a}`);
// Although I Love Ark Of Napishtim
console.log(`${a} Price in USA Is ${u_price}`);
// Ark Of Napishtim Price in USA Is 20 USD
console.log(`${a} Price in Japan Is ${j_price}`);
// Ark Of Napishtim Price in Japan Is 10 USD
console.log(`Origin Price Is ${or}`);
// Origin Price Is 30 USD