Loops
while
let i = 0;
let array = ["a", "b", "c"];
while i < ArraySize(array) {
let elem = array[i];
Log(elem);
i += 1;
}
// will log a, b and cfor..in
let array = ["a", "b", "c"];
for elem in array {
Log(elem);
}
// will log a, b and cLast updated
Was this helpful?