What is the output of the following code?
let arr = [];
let sum = arr.reduce(function(x, y) {
return x + y;
});
console.log(sum);What is the output of the following code?
let arr = [];
let sum = arr.reduce(function(x, y) {
return x + y;
});
console.log(sum);Create a free account to access the full topic