js check whether is array code example
Example: javascript determine array type
var data = ['a', 'b', 'c']
var isArray = Array.isArray(data)
console.log(isArray)
var data = ['a', 'b', 'c']
var isArray = Array.isArray(data)
console.log(isArray)