Enum key by value in TypeScript

In enumerations, you can get the element's key by its name:

typescriptlet current: number = Season.Winter;
console.log(current); // 0
Задание 1

Tell me what the result of running the following code will be:

typescriptenum Fruits { Apples, Bananas, Oranges, Grapes };
let myFruit: number = Fruits.Apples;
console.log(myFruit);