上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 62 下一页
摘要: a && b : 将a, b转换为Boolean类型, 再执行逻辑与, true返回b, false返回a a || b : 将a, b转换为Boolean类型, 再执行逻辑或, true返回a, false返回b 转换规则: 对象为true 非零数字为true 非空字符串为true 其他为fa... 阅读全文
posted @ 2015-05-31 18:59 172257861 阅读(107) 评论(0) 推荐(0) 编辑
摘要: New Document 阅读全文
posted @ 2015-05-24 11:31 172257861 阅读(210) 评论(0) 推荐(0) 编辑
摘要: New Document 阅读全文
posted @ 2015-05-24 11:31 172257861 阅读(2653) 评论(0) 推荐(0) 编辑
摘要: New Document 阅读全文
posted @ 2015-05-24 11:31 172257861 阅读(1925) 评论(0) 推荐(0) 编辑
摘要: 先测试下: debugger if(!window.attachEvent && window.addEventListener) { Window.prototype.attachEvent = HTMLDocument.prototype.attachEvent= HT... 阅读全文
posted @ 2015-05-22 23:04 172257861 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 先测试下: debugger if(!window.attachEvent && window.addEventListener) { Window.prototype.attachEvent = HTMLDocument.prototype.attachEvent= HT... 阅读全文
posted @ 2015-05-22 23:04 172257861 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 先测试下: debugger if(!window.attachEvent && window.addEventListener) { Window.prototype.attachEvent = HTMLDocument.prototype.attachEvent= HT... 阅读全文
posted @ 2015-05-22 23:04 172257861 阅读(136) 评论(0) 推荐(0) 编辑
摘要: //整个extend函数代表着如何寻找过来的参数(可以是任何对象【数组也是对象】),返回需要的对象。在javascirpt中extend理论之一是合并或复制对象。那么如何复制呢?基本的理论在我的http://blog.csdn.net/luozhonghua2014/article/detail... 阅读全文
posted @ 2015-05-21 23:45 172257861 阅读(109) 评论(0) 推荐(0) 编辑
摘要: //整个extend函数代表着如何寻找过来的参数(可以是任何对象【数组也是对象】),返回需要的对象。在javascirpt中extend理论之一是合并或复制对象。那么如何复制呢?基本的理论在我的http://blog.csdn.net/luozhonghua2014/article/detail... 阅读全文
posted @ 2015-05-21 23:45 172257861 阅读(88) 评论(0) 推荐(0) 编辑
摘要: //整个extend函数代表着如何寻找过来的参数(可以是任何对象【数组也是对象】),返回需要的对象。在javascirpt中extend理论之一是合并或复制对象。那么如何复制呢?基本的理论在我的http://blog.csdn.net/luozhonghua2014/article/detail... 阅读全文
posted @ 2015-05-21 23:45 172257861 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 62 下一页