What are the scenarios of Promise application and how to choose compatibility

  node.js, question

After reading some articles, the asynchronous solution Promise is highly recommended in JavaScript. However, after looking at the compatibility of Promise, as shown in the following table, it can be seen that many mobile terminals’ browser compatibility are not very good. May I ask under what circumstances do you use Promise and how do you choose compatibility?


Promise mainly solves js’s callback hell …

Compatibility can be solved by polyfill.