`
try{
dosomething
.....
} catch(e){
window.location.href = "http://stackoverflow.com/search?q="+e.message;
}
`
JAVASCRIPT 神级代码
`
try{
dosomething
.....
} catch(e){
window.location.href = "http://stackoverflow.com/search?q="+e.message;
}
`