Nilai adalah array
var colors=["red","green","blue"];
if(Array.isArray(colors)){
//colors is an array
}
Grepper
var colors=["red","green","blue"];
if(Array.isArray(colors)){
//colors is an array
}