There's nothing for you to break out of. Why did you add that line to your
code?
On Sat, Nov 30, 2013 at 10:32 AM, Ashutosh Das areos...@gmail.com wrote:
*var a = 5 , b = 6 ;if(a == b){console.log(Ad);}else{break;
console.log(AsdASD);}*
It simply returns
*break;
Where's a loop there to use break? Btw non sense to write console.log after
trying to stop an if.
Use return.
On Nov 30, 2013 7:32 AM, Ashutosh Das areos...@gmail.com wrote:
*var a = 5 , b = 6 ;if(a == b){console.log(Ad);}else{break;
console.log(AsdASD);}*
It simply returns
That's not a loop is a conditional
On Nov 30, 2013 7:59 AM, Ashutosh Das areos...@gmail.com wrote:
I just want to skip rest of the loop .
On Sat, Nov 30, 2013 at 9:38 PM, Jose Luis Rivas ghostba...@gmail.comwrote:
Where's a loop there to use break? Btw non sense to write console.log
after
Thanks for the correction .. silly mistake :/
On Sat, Nov 30, 2013 at 10:04 PM, Jose Luis Rivas ghostba...@gmail.comwrote:
That's not a loop is a conditional
On Nov 30, 2013 7:59 AM, Ashutosh Das areos...@gmail.com wrote:
I just want to skip rest of the loop .
On Sat, Nov 30, 2013 at