The Array.from method is used to convert two types of objects into real arrays: array-like objects and iterable objects (including ES6 new data structures Set and Map).
Array.from method of ES6
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325857567&siteId=291194637
Ranking