@extra-array/from
v2.10.19
Published
Converts iterable to array.
Downloads
112
Readme
Converts iterable to array. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
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 ]