how to check if a variable is object or array in javascript 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)