The while loop is used to repeat a block of code while a specified condition is true.
while
This construct requires the Hyperbee.XS.Extensions package.
Hyperbee.XS.Extensions
var x = 0; while (x < 42) { x++; }