How do we exit from a function in JavaScrip ?
Hello all,
I wanna know how we exit from a function on our choice in javascript.
For example:
function abc(strtest){
if (strtest="Abc"){
exit from funciton.(what statement do we write here to exit from a function in JavaScript ?)
}
else{
continue execution.
}
Thanks in advance.
Misbah Ansari.
}
|