I have a short question: How can I move from A
to B
in this code:
for(var i=0;i<length;i++)
{
B <--------------- So far
if (/*condition*/)
{
if(/*condition*/)
{
.....
}
else {
A <------------ From here
};
}
else if(/*condition*/)
{
...
}
}
I know about break
and continue
, but it doesn't work here
Thanks all!