#4 方法增强，后面补用例

for ISSUE https://github.com/ecomfe/promise/issues/4