Array Reduce Function Typescript Map Example For Students