FrontEnd.ro logo
Funcții pe Array-uri
let names = ["Bob", "Alice", "Jim"];
names.forEach((name) => {
  console.log(`Hello ${name}`);
});


// for (let i = 0; i < names.length; i++) {
//   console.log(`Hello ${names[i]}`);
// }