Array.from()The Array.from() static method creates a new, shallow-copied Array instance from an array-like or iterable object.
Array.from() lets you create Arrays from:
length property and indexed elements)Map and Set).Array.isArray()The Array.isArray() method determines whether the passed value is an Array.
instanceof vs isArrayWhen checking for Array instance, Array.isArray is preferred over instanceof because it works through iframes.
Array.of()The Array.of() method creates a new Array instance from a variable number of arguments, regardless of number or type of the arguments.
The difference between Array.of() and the Array constructor is in the handling of integer arguments: Array.of(7) creates an array with a single element, 7, whereas Array(7) creates an empty array with a length property of 7. (That implies an array of 7 empty slots, not slots with actual undefined values.)