I am reading the Eloquent Javascript book.
There is a task to build a triangle like this:

```
#
##
###
####
#####
######
#######

```

with a loop. 

I did it successfully with a for loop.

```
for (var result = "#"; result.length <=7; result = result + "#")
console.log(result);

```

But for some reason I can't do it with a while loop.

```
var result = "#"
while(result.length <=7 ){
console.log(result);
result = result + "#";
}
VM920:3 #
VM920:3 ##
VM920:3 ###
VM920:3 ####
VM920:3 #####
VM920:3 ######
VM920:3 #######
"########"

```

For some reason I am getting this extra line at the bottom with 8 # symbols wrapped in quotes. Why is this happening?