We can also use the new EcmaScript 5 Array.isArray() function.