![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
kennedy_kai
这个作者很懒,什么都没留下…
展开
-
关闭window不提示的方法
function CloseWindow() { var ua=navigator.userAgent var ie=navigator.appName=="Microsoft Internet Explorer"?true:false if(ie) { var IEversion=parseFloat(ua.substring(ua.indexOf("MSIE ...原创 2013-04-26 19:17:53 · 88 阅读 · 0 评论 -
Array.prototype.slice.call(arguments)
Array.prototype.slice.call(arguments)将带有length属性的对象转换为数组。例如:var a = {length:3,0:'first',1:'second',2:'three'};var b = Array.prototype.slice.call(a);// ["first", "second","three"]var c = Array...原创 2013-07-10 11:58:17 · 194 阅读 · 0 评论