JS里的try...catch

在JS中也可写try..catch捕获JS异常

try

{

js代码


}

catch(e){

;

}

你可能感兴趣的:(JS里的try...catch)