title: Access object within an object javascript
body: <p>Hi everyone i am new to javascript. I want to use the property1 and its value from variable_name. When i output its value to console i get the 
  structure below.</p>
  
  <pre><code>variable_name 
  Object
  variable_name1
  :
  {property1: "val1", property2: "val2", property3: "val3", …}
  __proto__
  :
  Object
  </code></pre>
  
  <p>How do i access the property1 and it's value from the object mentioned above. I tried accessing variable_name.variable_name1.property1.val. It doesn't seem to work. Could anyone help? Thanks.</p>