/* The Array.isArray() method indicates whether the passed value is an array. */ let example1 = [1, 2, 3]; console.log(Array.isArray(example1)); // → true let example2 = {a: 1, b: 2,c: 3}; console.log(Array.isArray(example2)); // → false