General flow control include if-else test, switch, loop, break and continue, function calls
and returns, etc. These are mostly similar to Java's flow control statement, except that the
test part are not required to be quoted in
There are a few for loop variations. One is the ForInStatement which is used
to iterate through a array. ForFromInStatement iterates through integer numbers. The
Like Java, JudoScript does not support goto . Labels are only valid for loop statements. Within a loop, can use break or continue to jump out of the current loop, possibly to an outer loop.
Function calls alreays return a value. If no return statement is used at the end, or return with no return value, a null is returned.