continue
Syntax
continue()
continue(value)
Skip to the next iteration of the loop.
continue()
terminates execution of the current iteration skipping to the next.
for([1, 2, 3, 4],
if(_ == 3, continue());
print(_); // 1, 2, 4
);
continue()
continue(value)
Skip to the next iteration of the loop.
continue()
terminates execution of the current iteration skipping to the next.
for([1, 2, 3, 4],
if(_ == 3, continue());
print(_); // 1, 2, 4
);