+ 1
Can i link a var from function to another?
function vars
2 Answers
+ 3
or use getters and setters, just like in java
0
Directly not - you can not define variable in one function and use it in another - you have to use global variable - variable declared in scope above the functions.