Mayank Kumarmayankdocs.hashnode.dev·May 30, 2024ObjectsDeclaration ⬇️ const obj = { name: "Mayank", cls: 12, section: "A", }; console.log(obj.cls); // 12 Object.keys(obj) = key in Array (enumerable only) Object.values(obj) = value in Array (enumerable only) Object.getOwnPropertyNames(obj) = key i...JavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.