javascript - Moving on deep function -


i have short question: how can move a b in code:

for(var i=0;i<length;i++) {     b <--------------- far     if (/*condition*/)     {                            if(/*condition*/)         {                                    .....         }         else {              <------------ here         };     }     else if(/*condition*/)     {         ...     } } 

i know break , continue, doesn't work here

thanks all!

you use goto.js (http://summerofgoto.com/) handle exact loop you're trying use, should consider finding different way factor code.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -