check the constructor property to find out if an object is an Array (contains the word "Array"):
By Marjorie Wyman at Jun 29 2021