Home  >  Article  >  Web Front-end  >  Javascript study notes error handling_javascript skills

Javascript study notes error handling_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:48:46974browse

Java代码

复制代码 代码如下:



javascript







复制代码 代码如下:



javascript







利用firefox的firebug来调bug
引用
复制代码 代码如下:



javascript







在IE中可以添加一个方法
引用
复制代码 代码如下:

function Console(){
this.log=function(inText){
alert(inText);
}
}
var console=new Console();
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn