Pętla for…

Przykład zastosowania pętli for w node.JS

var x=0;

for (i=0;i<10;i++)
{
x+=3;
console.log(x.toString());
}