<html>
<body>
<h1>JavaScript Objects</h1>
<h2>The Object.toString() Method</h2>
<p>Using Object.toString() returns the object constructor:</p>
<p id="demo"></p>
<script>
const person = {
firstName: "John",
lastName: "Doe",
age: 50,
eyeColor: "blue"
};
const keys = Object.toString(person);
document.getElementById("demo").innerHTML = keys;
</script>
</body>
</html>