try…catch

Home   »   try…catch

try{
    console.log("this is tahiya jahan laboni"); // result = this is tahiya jahan laboni
    
}catch(err){
    console.log("error");

}

Leave a Reply

Your email address will not be published. Required fields are marked *