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
Post a Comment