判斷數據類型,判斷是否空對象,js判斷是否是數組

typeof 首先看一下你們熟知的typeof :html typeof 77 --------------"number" 數組 typeof 'str77' --------------"string" 函數 typeof ['a','b']--------------"object" this typeof function a(){var m=0}-------"function"spa
相關文章
相關標籤/搜索