Here is my code that doesn`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`t find any bug. 

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

```
var counter = 0;
var result = Math.pow (2, counter);
    while (result < Math.pow (2, 10)) {
    console.log(result);
    counter = counter + 1;
    }

```