1) 鼠标框选要包裹的代码块
2) 按下ctrl + alt + t 调出下拉选项框
3) 选择你想要的try模式,有3种
6.try/catch
7.try/finally
8.try/cathc/finally
OK,完毕!
1) 鼠标框选要包裹的代码块
2) 按下ctrl + alt + t 调出下拉选项框
3) 选择你想要的try模式,有3种
6.try/catch
7.try/finally
8.try/cathc/finally
OK,完毕!
try catch里面try catch嵌套
1.try/catch<html><head><script type="text/javascript">var txt=""function message(){try { adddlert("Welcome guest!&q
先try 去执行代码,当请求遇到错的时候,就去执行catch,然后将其隐藏。确保代码更加的健壮,不会请求出错后一直
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M