Artificial intelligent assistant

new Promise(executor); と new Promise(function(resolve, reject) { ... }); の違い **** `new Promise(executor);` `new Promise(function(resolve, reject) { ... });` `new Promise(function(resolve, reject) { ... });` * * * **** Promise <



`executor` `function(resolve, reject) { .... }` 2()


//
new Promise();

//
new Promise({
run: function() {... }
});

// (resolve)
new Promise(function() {
// do something
});


JavaScript

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy b515e87c83cd091a091b63bd06fe7137