Consider the following function:

f = ()->i

 
"i" is used before being defined. Why is it possible? How does the compiler 
compile it?

And then when I run

f()


it gives me an ERROR. Is it a compiling error or a run-time error? 

 

Reply via email to