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, "")); } } }
相关文章推荐
- javascript 和 jq 的调试 用console.log() 函数
- JavaScript中的console.log()函数详细介绍
- JavaScript中的console.log()函数详细介绍
- javascript 和 jq 的调试 用console.log() 函数
- 郁闷,乘积最大那题WA原来只是因为我用了pow函数引起的!
- 关于javascript中console.log的一点技巧
- 解决Android 4.0手机因为图案尝试次数太多而锁屏
- 非常好用的前端调试函数console.log()
- PHP中使用error_log()函数来调试错误
- 为XPath自定义函数(因为XPath1.0的函数非常有限)[附源代码下载]
- 用ASP简单封装了几个函数,使用ServerXMLHTTP把网络上的文件保存到本地服务器.
- ASP.NET 程序设计中常用到的一些通用函数 自己的封装 可以做成dll来使用。
- 对mouse_even模拟鼠标操作函数的一点认识
- 对C++中虚函数、纯虚函数在多态中作用的一点认识
- VS2005编译器的一点改进 之 函数指针
- 对于HOOK函数的一点认识
- 我不敢想得太多,因为我一个人
- 关于fopen函数中路径名使用字符串的一点看法
- CodeProject - 在C#使用SHGetFileInfo获取(管理)文件或者文件夹图标(C#封装Win32函数的一个例子)