The second argument of the reduce function describes the initial value of the accumulator, in this instance of obj.
Using an empty set of curly braces means that initial value of obj is an empty object. For each item of the array you add a property to obj and return its value to update the same object.