//在js代码中最简单的抛出异常方法
try{
//代码
} catch(e){
alert(e);
}
js抛出异常
最新推荐文章于 2024-05-03 11:11:31 发布
//在js代码中最简单的抛出异常方法
try{
//代码
} catch(e){
alert(e);
}