wait for several promise to finish
jquery $.get() or $.getJSON() return a promise object. All these objects and be queued by Promise.all([]).then().catch() function
```Javascript
var pr1 = $.get()
var pr2=$.get()
Promise.all([]).then()
jquery $.get() or $.getJSON() return a promise object. All these objects and be queued by Promise.all([]).then().catch() function
```Javascript
var pr1 = $.get()
var pr2=$.get()
Promise.all([]).then()
0 Comments