null 是已经申明了,值为空。 typeof null 是 object。
undefined 是已经申明了。未赋值。 typeof undefined 是 undefined。
本文标题:null和undefined
本文链接:https://www.haomeiwen.com/subject/ebahaqtx.html
网友评论