What will be the output of the following code?
const fruits = ['Apple', 'Banana', 'Orange'];
fruits.forEach(fruit => {
console.log(fruit);
return;
});
What will be the output of the following code?
const fruits = ['Apple', 'Banana', 'Orange'];
fruits.forEach(fruit => {
console.log(fruit);
return;
});