Is it possible to display the row of 2 in the power of 1,2...10 (the biggest) using while loop with Math.pow?
<p>Here is my code that doesn<code>t work. It seems to me that it has to but when I use console (in inspect section in the browser) nothing happens, it doesn</code>t find any bug. </p>

<p>I`d be very thankful if you explain me where is the mistake(-s)</p>

<pre><code>var counter = 0;
var result = Math.pow (2, counter);
    while (result &lt; Math.pow (2, 10)) {
    console.log(result);
    counter = counter + 1;
    }
</code></pre>