2016年2月22日

js 的try catch

摘要: 语法: try { //在此运行代码 } catch(err) { //在此处理错误 } 注意:try...catch 使用小写字母。大写字母会出错。 <script language="javascript"> try { throw new Error(10,"asdasdasd") } cat 阅读全文

posted @ 2016-02-22 22:22 求知的木头 阅读(349) 评论(0) 推荐(0) 编辑

导航