Skip to content

typeofStr

typeofStr(needle)

获取数据类型,冗长版。

返回值:String

参数说明类型可选值默认值
needle待检测对象*
js
console.log(JW.typeofStr([]));
console.log(JW.typeofStr(''));