摘要: 先上代码说现象 在body里面放一个按钮button,给其注册一个点击事件,事件函数是rest,函数rest在javascript的onload事件里面声明。最后浏览器会报错:Uncaught ReferenceError: rest is not defined,函数 rest未找到。 原因分析 阅读全文
posted @ 2016-07-26 17:08 苏氏之道 阅读(661) 评论(0) 推荐(0) 编辑