array.of

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

npm install array.of
4 downloads in the last week
4 downloads in the last month

ES6 Array.of polyfill Build status

An robust & optimized ES3-compatible polyfill for the Array.of method in ECMAScript 6.

Installation

In a browser:

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

Via npm:

npm install array.of

Then, in Node.js:

require('array.of');

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

Author

twitter/mathias
Mathias Bynens

License

This polyfill is available under the MIT license.

npm loves you