instanceof
const arr = ["hello", 'world', '!'];
const isArray = arr instanceof Array
console.log(isArray);
true
constructor
const arr = ["hello", 'world', '!'];
console.log(arr.constructor);
console.log(arr.constructor === Array);
[Function: Array]
true
Object.prototype.toString.call()
const arr = ["hello", 'world', '!'];
console.log(Object.prototype.toString.call(arr));
console.log(Object.prototype.toString.call(arr) === '[object Array]');
[object Array]
true
Array.isArray()
const arr = ["hello", 'world', '!'];
console.log(Array.isArray(arr));
true