Converts iterable to array. 📦 😺 🏃 📼 🌔 📜 📰 📘 Alternatives: from, from$, fromRange, fromApply. This is part of package extra-array. array.from(x); // x: an iterable const array = require("extra-array"); var x = [1, 2].values(); array.from(x); // [ 1, 2 ] References Symbol.iterator: MDN web docs Array.from: sugarjs