What I Think const does

I’m pretty sure that it prevents you from assigning a variable after it’s been declared. After I used it in my code, I got a red underline for the line where one of my variables was assigned a new value.

Privacy & Terms