Java, project 1, variables undefined?

java

#1

I have defined global variables and give them value in a function, but when I console.log them they show as undefined.


#2

Can you please post your code?


#3

Sorry about that. I did find the problem though.
Thanks