new Promise(() => {})
, if resolve
or reject
is not called, is it always in the pending state?
return new Promise(() => {})
It can have the effect of interrupting execution, but I don’t know if there are any disadvantages?
I hope those who know more can give some advice~
Yes.