Edit in JSFiddle
JavaScript
Result
var i; for(i=0;i<5;i++) { alert('Iterator variable: ' + i); }