Sunday, 7 November 2021

How to Abort Javascript Execution

 In General we may have to work on Javascript abort where in we can abort using below steps .

1. by throwing error on browser console which will abnormally terminate the JS flow .

function abortFlow(){ 
throw new Error("Oops because of error aborting the flow");
} 

No comments:

Post a Comment

Java Interview question and answer

  Java Backend Interview Prep — Q&A Guide Java Backend Interview Prep 24 topics · 287 questions Expand all Collap...