The Array.from() method returns an Array object from any object with a length property or an iterable object.
Array.from(object, mapFunction, thisValue)
Parameters: This method accepts three parameters as mentioned above and described below:
Return value: It returns a new Array instance whose elements are same as the given array. In the case of a string, every alphabet of the string is converted to an element of the new array instance.
var myArr = Array.from("ABCDEFG");