[JavaScript] Promise
Promise
Objects that help handle asynchronous operations in a synchronous-like manner
One of resolve or reject must be called
executor: executing a function that automatically runs when Promise created
Constructor
new Promise(executor);
new ...
siwonlog.hashnode.dev3 min read