日期:2014-05-16  浏览次数:20451 次

javascript对象疑惑
在js中,除了众所周知的 array function 是对象外

刚搜了下资料,int boolean string也是对象无疑。

那null 跟 undefined呢?

以下文章说:null不是对象个人觉得不妥:大家怎么看?
http://bonsaiden.github.io/JavaScript-Garden/zh/#function
javascript 对象

------解决方案--------------------
一切皆是对象!
------解决方案--------------------
之前看过一个权威的文章  说 JS 里面   只有 number string function object
其它的  你看着办吧
------解决方案--------------------
我觉得没有什么好争论的http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdfThe ECMAScript language types are Undefined, Null, Boolean, 
String, Number, and Object.