實踐面試系列:真題1

1.document.parentNode和document.parentnode document.parentNode -> null (有屬性但沒有值) document.parentnode -> undefined (沒有屬性) 若是說當前對象有這個屬性,這個屬性沒有值是null;若是沒有這個屬性爲undefinedhtml 2.let vs var區別 1.let沒有變量提高(但在詞法
相關文章
相關標籤/搜索