A robust & optimized <code>Array.from</code> polyfill, based on the ECMAScript 6 specification.
Array.from shim/polyfill/replacement that works as far down as ES3.
Array.from() method creates a new Array instance from an array-like or iterable object.
In a browser:
npm install array.from
var from = ;var assert = ;assert;
var from = ;var assert = ;/* when Array#from is not present */delete Arrayfrom;var shimmedFrom = from;assert;assert;
var from = ;var assert = ;/* when Array#from is present */var shimmedFrom = from;assert;assert;
Simply clone the repo,
npm install, and run
This polyfill is available under the MIT license.