判断IE和firefox浏览的简单用法
!(-[1, ])
?
if(!(-[1, ])){
alert('This is IE');
}else{
alert("This is Firefox");
}