Array.of

Array constructor shim

An ES2015 spec-compliant shim for the Array.of method in ECMAScript 6

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

GitHub

15 stars
7 watching
5 forks
Language: JavaScript
last commit: 3 months ago

Related projects:

Repository Description Stars
mathiasbynens/array.from Creates a new array instance from an array-like or iterable object. 67
mathiasbynens/string.prototype.includes A robust polyfill for the includes method in ECMAScript 6 68
mathiasbynens/string.prototype.endswith A polyfill shim for the String.prototype.endsWith method to ensure compatibility with older JavaScript environments. 35
mathiasbynens/string.prototype.startswith A polyfill for the String.prototype.startsWith method in ECMAScript 6. 144
es-shims/array-includes A polyfill for the Array.prototype.includes method in older JavaScript environments 43
es-shims/array.prototype.some Polyfills an ES5 method to check if any element in an array meets a condition 2
es-shims/array.prototype.every A polyfill for the Array.prototype.every method to enable it in older JavaScript environments. 7
es-shims/array.prototype.flatmap Provides a shim for the Array.prototype.flatMap method to work in older JavaScript environments. 32
mathiasbynens/string.fromcodepoint A polyfill for the String.fromCodePoint method in ECMAScript 6 61
es-shims/object.fromentries A shim polyfill for the Object.fromEntries method to ensure compatibility with older JavaScript environments. 33
mathiasbynens/regexp.prototype.search A polyfill for the search method in ECMAScript 6's RegExp object 5
es-shims/object.entries An ES2017 spec-compliant shim to ensure compatibility in environments lacking native Object.entries support. 57
es-shims/object.values Shim to implement Object.values in environments lacking its support or spec compliance 72
mathiasbynens/string.prototype.codepointat A polyfill for the ES6 String.prototype.codePointAt method to support older browsers and environments 53
mathiasbynens/string.prototype.repeat A polyfill implementation of the String.prototype.repeat method in ECMAScript 6 27