判断数据类型,判断是否空对象,js判断是否是数组

typeof 首先看一下你们熟知的typeof :html typeof 77 --------------"number" 数组 typeof 'str77' --------------"string" 函数 typeof ['a','b']--------------"object" this typeof function a(){var m=0}-------"function"spa
相关文章
相关标签/搜索