Use reduce to avoid mutating the object unneededly.
Use reduce to avoid mutating the object unneededly.

SamGraber/TypeScript-Angular-Utilities,SamGraber/TypeScript-Angular-Utilities,RenovoSolutions/TypeScript-Angular-Utilities,RenovoSolutions/TypeScript-Angular-Utilities