const pets = ['Dog', 'Cat', 'Finches', 'Hamster', 'Squirrel', 'Betta Fish'];
 
for( let i = 0; i < pets.length; i++) {
  
  console.log( pets[i] );
 
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://codepen.io/nullobject/pen/cngzI.js