<!DOCTYPE html>
<html>

  <head>
    <link rel="stylesheet" href="style.css">
    <script src="script.js"></script>
  </head>

  <body>
    <h1>Hello Plunker! check console</h1>
  </body>
  
  <script>
    
    function showProps(obj, objName) {
 var result = '';
 for (var i in obj) {
   // obj.hasOwnProperty() is used to filter out properties from the object's prototype chain
   if (obj.hasOwnProperty(i)) {
     result += objName + '.' + i + ' = ' + obj[i] + '\n';
     console.log(result);
   }
 }
 return result;
}
var myCar = {};
myCar.make = "Ford"
myCar.model = "Mustang"
myCar.year = 1969;
showProps(myCar, "myCar") 

  </script>

</html>
// Code goes here

/* Styles go here */