Const Practice Issue

I was going through the practice and noticed if I put “let” instead of the first “const” variable, it gives an error saying selected type cannot be changed later, but I thought it’s the opposite. It’s not changing that variable afterwards, but why I can’t use “let” and getting an error anyway?

I think the context of the example is unclear and a bit contrived. There’s no reasonable way to discern which is more relevant from just this context alone.

1 Like