reduce((a, b) => a ^ b) code example Example: .reduce mdn arr.reduce(callback( accumulator, currentValue[, index[, array]] )[, initialValue])