TS2588
Cannot assign to 'name' because it is a constant.
Broken Code ❌
const name = 'Benny';
name = 'Sofia';Fixed Code ✔️
You cannot reassign values to constants which is why you have to declare a variable using the let keyword:
let name = 'Benny';
name = 'Sofia';