array.from

A robust & optimized Array.from polyfill, based on the ECMAScript 6 specification.

ES6 Array.from polyfill

A robust & optimized ES3-compatible polyfill for the Array.from method in ECMAScript 6.

In a browser:

<script src="array-from.js"></script>

Via npm:

npm install array.from

Then, in Node.js:

require('array.from');
 
// On Windows and on Mac systems with default settings, case doesn’t matter, 
// which allows you to do this instead: 
require('Array.from');
Mathias Bynens

This polyfill is available under the MIT license.