
JavaScript
hello5orld
just a coder...
展开
-
javascript中=== 、==、!==与!=的区别
===与!== ===代表恒等于,不仅判断数值,而且判断类型。比如 var a=5,b="5"; document.write(a==b); document.write(a===b); 结果 true false a是数值类型,b是字符串类型,虽然数值相等但是类型不等。 a==b //返回true,数值上相等a===b //返回false,虽然数值上相等,但是类型原创 2013-08-28 10:23:53 · 1301 阅读 · 0 评论 -
Firebug使用之五--Console API
Firebug adds a global variable named "console" to all web pages loaded in Firefox. This object contains many methods that allow you to write to the Firebug console to expose information that is flowin原创 2013-08-28 11:08:53 · 1327 阅读 · 1 评论