es6 polyfill?
See original GitHub issuethere’s https://github.com/jakearchibald/es6-promise but i don’t really want to use it because it’s based off of rsvp.js
.
Issue Analytics
- State:
- Created 9 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
es6-polyfill
A javascript polyfill library for es6 API such as findIndex, Array.from, etc.. Latest version: 1.1.0, last published: 4 years ago.
Read more >Polyfills and transpilers
For this particular case, the polyfill for Math.trunc is a script that ... https://kangax.github.io/compat-table/es6/ – for pure JavaScript.
Read more >NatLibFi/es6-polyfills
ES6 polyfills NPM Version Build Status Test Coverage. A collection of ES6 polyfills that use native implementations if available and do not pollute...
Read more >Polyfills to support IE 11 and non ES6 browsers
If you are writing your JavaScript using ES6 or ES5, then you are probably using some polyfills to be able to target old...
Read more >babel/polyfill
Babel includes a polyfill that includes a custom regenerator runtime and core-js ... If you are using ES6's import syntax in your application's...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you want performance you can keep using bluebird till the end of the times, native will never beat it.
Here goes fresh polyfill by @getify.
Maybe bluebird could use ES6 promises internally instead of custom implementation? It would be probably even faster. Currently I am using bluebird mainly because bunch of useful utility functions and superior error handling. I would like to keep that.
Bluebird could allow to optionally extend native Promise object when the one is found instead of making own one? That way the utility functions will be there together with faster implementation of Promise.
Hope it makes some sense, it’s somewhat hard to explain for me 😃