how to fill array content using for loop in JavaScript : <p>I want to create and array and fill it's content using for loop. It's like </p>

<h1>include </h1>

<pre><code>Int main (){

    Int array [6];
    Int i;

    For(i=0;i &lt;6;i++){
        Array [i]=i*3;
        Printf ("%d",array [i]);
    }
    Return 0;
}
</code></pre>

<p>In c. How to do it in javascript?</p>
