Home > AI > Uncategorized

forEach

Example 1:

const fruits = ["Apple", "Banana"]
fruits.forEach((item, i) => {
  console.log(item)
})
Related posts:

Leave a Reply