您的位置:首页 > 其它

zlog()只是我用函数封装了console.log()因为用的次数太多改短一点!

2016-11-18 00:00 363 查看
zlog()只是我用函数封装了console.log()因为用的次数太多改短一点! 莫怪!

function zlog(){
try{
console.log.apply(console, arguments);
}
catch(e){
try{
opera.postError.apply(oprea, arguments);
}catch(e){
alert(Array.prototype.join.call(arguments, ""));
}
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: