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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -