JSFiddle - React, Tailwind, and code Playground
JavaScript
function run_my_program(){
//Do Everything here
throw "I want to break the world!";
}
try{
run_my_program();
}
catch(err) {
//Do whatever you want with the err
}
function run_my_program(){
//Do Everything here
throw "I want to break the world!";
}
try{
run_my_program();
}
catch(err) {
//Do whatever you want with the err
}