how to get object length in pure javascript in this code
let myFavGames = {
"Trinity Universe": {
publisher: "NIS America",
price: 40,
},
"Titan Quest": {
publisher: "THQ",
bestThree: {
one: "Immortal Throne",
two: "Ragnarök",
three: "Atlantis",
},
price: 50,
},
YS: {
publisher: "Falcom",
bestThree: {
one: "Oath in Felghana",
two: "Ark Of Napishtim",
three: "origin",
},
price: 40,
},
};
// Code One => How To Get Object Length ?
let objectLength = ?;