Skip to content

getType

getType(needle)

获取数据类型,简洁版。

返回值:String

参数说明类型可选值默认值
needle待识别对象*
console.log(JW.getType([]));