![]() At the time of writing (November 2018), support for Edge was under development. This polyfill addresses the API namespace and asynchronous event handling across Firefox, Chrome, and Opera. So, how do you take advantage of promises easily, when Firefox is the only browser supporting it? The solution is to code for Firefox using promises and use the WebExtension browser API Polyfill! Note: If you’re unfamiliar with the differences between these two methods, take a look at Getting to know asynchronous JavaScript: Callbacks, Promises and Async/Await or the MDN Using promises page.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |