If you're after ES5 based ECMAScript 6 shims, here's a neat list: https://gist.github.com/medikoo/102b7d0e697627133788#list-of-ecmascript-6-shims … we use most of it in UNCTAD projects.
@medikoo Impressive list! Most of these are not spec-compliant, e.g. https://github.com/medikoo/es5-ext/blob/master/array/of/shim.js … Please don’t extend natives in that case.
-
-
@mathias Which are not spec compliant? IMO all are (do I miss something ?) and natives are extended only on request -
@medikoo For example, run these tests on your `Array.of` shim: https://github.com/mathiasbynens/Array.of/blob/master/tests/tests.js … - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.