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

Javascript study notes error handling_javascript skills

WBOY
Release: 2016-05-16 18:48:46
Original
1002 people have browsed it

Java代码

复制代码 代码如下:



javascript







复制代码 代码如下:



javascript







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



javascript







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

function Console(){
this.log=function(inText){
alert(inText);
}
}
var console=new Console();
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template