Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
CERN
1
Name:
Anonymous
2012-01-27 17:14
for (var i = 0; i < 5; i++) {}
vs
var i;
for (i = 0; i < 5; i++) {}
Not just Javascript, any language.
2
Name:
Anonymous
2012-01-27 17:17
First one because the variable will go out of scope after the loop.
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List