Hi my name is Guillermo Antony Cava Nuñez, recently while working with sweetalerts2, had to handle some Ajax requests and wanted to make use of the preconfirm methods available. It uses promises in order to wait for the response prior to advancing to the next, thus had to make a promise within the scope of…
![Go to Promises in JavaScript](https://www.guillermocava.com/wp-content/uploads/2018/11/guillermo-antony-cava-nunez-javascript-promises-js-documentation-examples.jpg)