refactor(Promise): simplify the code and add inline doc
refactor(Promise): simplify the code and add inline doc

angular/zone.js,richardmurri/zone.js,juliemr/zone.js,juliemr/zone.js,juliemr/zone.js,angular/zone.js,btford/zone.js,mhevery/zone.js,juliemr/zone.js,richardmurri/zone.js,mhevery/zone.js,mlaval/zone.js,mlaval/zone.js,mhevery/zone.js,btford/zone.js,btford/zone.js,angular/zone.js,richardmurri/zone.js,spinfooser/zone.js,mlaval/zone.js,mlaval/zone.js,spinfooser/zone.js,angular/zone.js,spinfooser/zone.js,richardmurri/zone.js,angular/zone.js,spinfooser/zone.js,mhevery/zone.js