What is printed when executing the following code?
let text = '';
const arr = ['a', 'b', 'c'];
arr.forEach(letter => {
text += letter.toUpperCase();
});
console.log(text);
What is printed when executing the following code?
let text = '';
const arr = ['a', 'b', 'c'];
arr.forEach(letter => {
text += letter.toUpperCase();
});
console.log(text);