Question: javascript is array or string?
Answer: JavaScript Array isArray() Method The isArray() method determines whether an object is an array. This function returns true if the object is an array, and false if not.