+ 6
Please comment Examples Of For Loop In JavaScript
Comment Your Code
4 Respuestas
+ 8
var c = document.getElementById("canvas");
for ( var i = 1; i <= 210; i = i + 6) {
c.moveTo(20 + i, i);
}
+ 5
var i=0;
var x=0;
for( i=0; i<10;i++)
{
x++;
}
document.write(x);
+ 4
var a = [1,2,3,4];
for(var i=a.length;i--;){
alert(a[i])
}
//This is faster way
+ 1
good