What I think const does

I think that const locks a variable for duration of the code. Once its set, it can’t be changed later on in the code unless the const command is removed.

1 Like

That’s it. A constant value that cannot be modified.

Privacy & Terms