Hi there, I can´t get this:
if I declare the variable currentScreen and assign a value to it in the same line (as the video shows), it´s ok, no errors.
But I wonder why if I declare the variable in one line, I can´t assign a value to that variable in the next line (I have to do it inside a function to get rid of errors):
I may be doing something wrong here, but I just don´t get it. Thanks!