What will be the output of the following code?
const items = ['Apple', 'Banana', 'Orange'];
items.forEach((item, index) => console.log(index, item));
What will be the output of the following code?
const items = ['Apple', 'Banana', 'Orange'];
items.forEach((item, index) => console.log(index, item));