P
poornibalu
I want to stop the execution of the code when the value of k>100 in
the function
function aa()
{
if (k>100)
{
//command to kill the execution
}
}
I saw the break to break the loop, but I'm trying to just stop the
javascript function from continueing execution. I can work around it
in other ways, but that would require alot of redundant code or
another function, both of which I'd like to avoid.
Please help me with this
the function
function aa()
{
if (k>100)
{
//command to kill the execution
}
}
I saw the break to break the loop, but I'm trying to just stop the
javascript function from continueing execution. I can work around it
in other ways, but that would require alot of redundant code or
another function, both of which I'd like to avoid.
Please help me with this