5 lines
82 B
JavaScript
5 lines
82 B
JavaScript
var p = Promise.resolve(0);
|
|
Promise.all([p]).then(outcome => {
|
|
alert("OK");
|
|
});
|