I have function like below
function add(){
var isOk = true;
while(isOk){
add(); // calling my function again here based on some condition
console.log('I can\'t reach this line');
isOk = false;
}
}
add() // calling function here
Now when i call my add function, is there a way i can reach my console.log statement here ?