Hide JavaScript Error

This Method is used to Handle JavaScript Error that we don't want to show in case of unavoidable conditions.
Code:
function handleError()
{
return true;
}
window.onerror = handleError;

0 comments: