Use two nested for structures to log the following pattern. Any ideas? : <pre><code>       0 1 0 1

       1 0 1 0

       0 1 0 1

       1 0 1 0
</code></pre>

<p>Any ideas on how to get this done in JavaScript using 2 nested for loops? </p>
