promise promise 对内部变量,甚至函数 this 都有要求。 真正实现,其实写法很多都固定了。 test npm run test use const promise = reqire('promise')