摘要:
//构造参数 new Date(milliseconds)// new Date(year,month,day,hours,minutes,seconds,ms)// PS: month参数范围0-11//重点:Date对象转换成指定格式的字符串,字符串转换成日期//eg: new Date(datestring)// new Date("yyyy-MM-dd hh:mm:ss")// new Date("yyyy/MM/dd hh:mm:ss") 也可以是MM/dd/yyyy// new Date("yyyy MM dd hh:mm:ss&q 阅读全文
posted @ 2012-06-08 15:31
无赖君子
阅读(294)
评论(0)
推荐(0)
摘要:
题目如下:1 f = function() { return true; };2 g = function() { return false; }; 3 (function() {4 if (g() && [] == ![]) { 5 f = function f() { return false; }; 6 function g() { return true; }7 } 8 })();9 alert(f()); // true or false ?看IE6、IE7、IE8与其它非IE下的不同?1 var f = function ... 阅读全文
posted @ 2012-06-08 15:24
无赖君子
阅读(450)
评论(0)
推荐(0)


浙公网安备 33010602011771号