Is it possible to transform "val" into "var" and vice-versa? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to transform "val" into "var" and vice-versa?

I would like to change a varible after a limited and expected times (point in the source code)

31st Jul 2018, 7:59 PM
Daniel Bandeira
Daniel Bandeira - avatar
1 Answer
+ 4
It is not possible to switch. It is possible to protect the var from changing unless allowed,
4th Sep 2018, 10:29 PM
John Wells
John Wells - avatar