typeof array is array code example
Example 1: javascript determine array type
var data = ['a', 'b', 'c']
var isArray = Array.isArray(data)
console.log(isArray)
Example 2: javascript typeof array
Array.isArray(obj)
var data = ['a', 'b', 'c']
var isArray = Array.isArray(data)
console.log(isArray)
Array.isArray(obj)