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