let times = 10
while (times) {times--}
console.log("done")
while true do
print("hello")
end
while do
while (int x = foo(); x > 0)
{
sum += x;
}
while 1
print["hello"]
end
while fiber.status() != #done:
res = coresume fiber
count += 1
for my_condition {
// ...
}
while true
"hello"
Languages with While Loops include JavaScript, C, Python, Java, Perl, Ruby, PHP, C#, R, PowerShell, Bash, Rust, Swift, Scala, Lua, Kotlin, CoffeeScript, Objective-C, Julia, Dart, Solidity, Pascal, Ada, Crystal, Reason, Chapel, Groovy, F#, OCaml, VHDL, ABAP, Verilog, C3, Lil, SystemVerilog, AutoIt, Dylan, X10, Maxima, Cyber, Angelscript, Apex, Jule, fp, JS++, Speedie, Q#, hecl, nimrod
Languages without While Loops include progsbase, Veryl, HOPE, SAKO
View all concepts with or missing a hasWhileLoops measurement
Read more about While Loops on the web: 1.