摘要:
boolean("false") =====>trueDate(1387123200000)不等于new Date(1387123200000)用Date(1387123200000)http://www.w3school.com.cn/js/jsref_obj_date.aspgetMonth()是用0开始的getDay()是从0开始的getDate()从 Date 对象返回一个月中的某一天 (1 ~ 31)。13getDay()从 Date 对象返回一周中的某一天 (0 ~ 6)。13getMonth()从 Date 对象返回月份 (0 ~ 11)。13getFu 阅读全文
摘要:
http://www.cnblogs.com/zhangyi85/archive/2008/11/12/1332326.html 阅读全文
摘要:
http://www.cnblogs.com/lhb25/p/headroom-js-react-to-the-users-scroll.html 阅读全文
摘要:
functionclass(function, this, prototype)closure与function expression没有任何关系。closure必然与function联系在一起。function -----------> function, anonymous funciton。http://www.codeproject.com/Articles/5608/Writing-Object-Oriented-JavaScript-Part-1方式一:function a() { var v1 = 'roboce', v2 = 'lisa'; 阅读全文