String Enums in TypeScript

Keys can be not only numbers, but also strings:

typescriptenum Season {
  Winter = 'season 1',
  Spring = 'season 2',
  Summer = 'season 3',
  Autumn = 'season 4'
};

Let's check:

typescriptlet current: Season = Season.Summer;
console.log(current); // 'season 3'
Задание 1

Make a list with the names of the days of the week.

Задание 2

Make a list with the names of the months.