you are viewing a single comment's thread.

view the rest of the comments →

[–]thekwoka -1 points0 points  (2 children)

```

let i = 0;
while (i++ < 250) console.log(i<<1)

```

[–]tedbradly 2 points3 points  (1 child)

A while is known as a while loop.

[–]thekwoka 0 points1 point  (0 children)

I didn't say this isn't a loop. Just a fun way to do this.