The accumulator parameter gets an initial value of 0 because that's what we supplied as the second argument to the reduce() method.
We increment the accumulator by the value of the salary property for each object in the array.
The reduce() method returns the sum of the salary values of all objects in the array.