Throwing from a promise returning function will force you to use both a } catch { and a .catch . People using promisified APIs do not expect promises to throw.
確定! 回上一頁