Converts iterable to array.
This is part of package extra-array.
This is browserified, minified version of @extra-array/from.
It is exported as global variable array_from.
CDN: unpkg, jsDelivr.
array.from(x);
// x: an iterable
const array = require("extra-array");
var x = [1, 2].values();
array.from(x);
// [ 1, 2 ]