js 中 的 null 與 undefined

js的數據類型分成原始類型(primitive)和 合成類型 (complex) 最初版本的區分是  null是一個標識  無的對象, 轉爲數值爲0, undefined 是表示無的原始值,轉爲數值時未NAN  
相關文章
相關標籤/搜索