added commented and fix bug #3
                
     Open
            
            
          
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
以下代码在你之前的commit 中会正确打印出A, B 和浏览器行为符合
但是最新的一次commit之后不能正确打印A, B。
我已经对这个问题进行了修复。
另一方面, 我看了你那篇解析文章之后, 给你的代码加入了大量注释, 文件名为 promise.js。
这次 pr 主要是希望能帮助到更多人, 谢谢。