Promise学习笔记-四(Promise实例方法)

Promise对象异步操作结果处理的方法有三种,这三种方法是挂载到Promise.prototype上的,分别是:then、catch和finally。