A robust & optimized
Array.of polyfill, based on the ECMAScript 6 specification.
An robust & optimized ES3-compatible polyfill for the
Array.of method in ECMAScript 6.
In a browser:
npm install array.of
Then, in Node.js:
;// On Windows and on Mac systems with default settings, case doesn’t matter,// which allows you to do this instead:;
This polyfill is available under the MIT license.