✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Context:
const arr = [1, 2, 3];
const total = arr.reduce((sum, num) => sum + num, 0);
console.log(total);
What is the output?