Stenway Developer Network

do Keyword

Do-Loop

While

var i = 0
do
  i++
loop while i < 10

Until

var i = 0
do
  i++
loop until i == 10

Infinite loop

do
  doSomething()
loop