How to convert object into array in es6
In es6, you can use the from() method of the Array object to convert the object into an array. This method can convert an array-like object or a traversable object into a real array; the syntax is "Array.from(object)".
2022-08-02