Skip to main content

Posts

Showing posts from April, 2022

TRY & CATCH IN JS

< body >  < p id = "demo" ></ p >  < script >   try {   alertnot ( "hello bhai" );  }   catch (err) { document. getElementById ( "demo" ).innerHTML = err.massege; } </ script > </ body >