One more “cool” thing about JS: somevar = 100; function test() { somevar = 1; return somevar; if(false) { var somevar; } } alert(test()); alert(somevar); Try to guess first what these two alert()s will output in JS. You did? Then try to see this code running alive: js-mine. That is what Web2 is supposed to…
Achtung, minen!
Posted on