title: Javascript: How to iterate only a certain part of a javascript object?
body: <p>I have a javascript object that looks like this</p>
  <pre><code>const columns = {
      firstLabel: 'Hello',
      secondLabel: 'world',
      thirdLabel: 'I',
      fourthLabel: 'Am',
      fifthLabel: 'Paul',
  };
  </code></pre>
  <p>I am trying to only get the values of the last three <code>I, Am, Paul</code>. I am doing something like this but this clearly doesn't work as this will return everything. Is this possible to do with an object?</p>
  <pre><code> for(const prop in columns) {
        if(Object.keys(columns).length &gt; 2){
          console.log(`${columns[prop]}`);
        }
   }
  </code></pre>
  <p>Expected output is just:</p>
  <p>I</p>
  <p>Am</p>
  <p>Here</p>