Reducer Function In Javascript Example Interview