These are chat archives for effektif/effektif
test. so the first can update the value for the second, this works.
null. shouldn't it print 234? the local variable is defined after setting the value of the global one.
varkeyword declares a local variable for the whole scope, i.e., the closure, the line position does not matter
Variable declarations, wherever they occur, are processed before any code is executed. The scope of a variable declared with var is its current execution context, which is either the enclosing function or, for variables declared outside any function, global.