Promise 符合 Promises/A+规范的 Promise 实现 Promise then catch resolve reject race all 安装依赖 npm install or yarn install 执行测试 npm run test / yarn test