[Comments] improvement, typo correction, style correction
Change implementation of Promise.whenAll