Example 1:
const fruits = ["Apple", "Banana"] fruits.forEach((item, i) => { console.log(item) })
You must be logged in to post a comment.