text: // for (let i = 1; i <= 10; ++i) {
  //   console.log(i);
  // }
  
  // let collection = ["foo", "bar", "baz"];
  // for (let index = 0; index < collection.length; ++index) {
  //   console.log(collection[index]);
  // }
  
  let collection = ['foo', 'bar', 'baz'];
  collection.forEach((item) => console.log(item));