title: get first elements from array using node js / javascript
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let array =
  [[`animal`,`carnivours`],
   [`cow`,`milk`],
   [`plant`,`small`],
   [`fish`,`tank`]]
   
   console.log(array[0]);</code></pre>
  </div>
  </div>
  </p>
  <p>as I know if I want to fetch first value from array I have to use array[0] to get all the first name from the array but here I am getting first array from array list as my</p>
  <p>expected value is like this</p>
  <pre><code>animal
  cow
  plant
  fish
  </code></pre>
  <p>any simplest way to fetch all the first name from the list like this <code>array[0]</code> or somewhat like this ?</p>