What will be the output of the following code?
const numbers = [1, 2, 3, 4, 5]; numbers.forEach(num => console.log(num));
1 2 3 4 5
Error: forEach is not a function
[1, 2, 3, 4, 5]
undefined