title: how to display both key and value in object using javascript?
body: <p>I don't know if this is possible in javascript. I have a object that is dynamic.
  like</p>
  
  <pre><code>const list = {eb: 'blue', et: 'green'}
  </code></pre>
  
  <p>anytime my list value will change like</p>
  
  <pre><code>const list = {er: 'yellow', ex: 'black'}
  </code></pre>
  
  <p>How can get the key value in my object? like I'm going to display both key and value for it. </p>
  
  <pre><code>const ikey = 'eb'
  const ivalue = 'blue'
  </code></pre>