Using reduce() on an array of objects
Here we have an array of objects labeled arrayOfObjects which holds 3 objects, labeled objectOne,...
Tags: javascript, array, reduce, objects