Coba tangkap di simpul JS

try {
    
} catch (error) {
    console.log(error);
}
Magnificent Millipede