Write a function named groupBirthdays that receives 2 parameters:
name - a string representing the user's namebirthday - a Date representing the user's birthdaygroupBy string with one of the following values - month, day, yearThe function should group the users according to their birthdays and the groupBy parameter, and return a Map where the values are Arrays of users, and the keys are:
groupBy="month" (starting from 1)groupBy="day" (starting from 1)groupBy="year"users
=groupBy
=