var a = 0

while (a < 10) {
    // do something
    
    a += 1
}

println(a)
// 10