I want to create and array and fill it's content using for loop. It's like
include
Int main (){
Int array [6];
Int i;
For(i=0;i <6;i++){
Array [i]=i*3;
Printf ("%d",array [i]);
}
Return 0;
}
In c. How to do it in javascript?