promise-implementation A self-implementation about promise by ecma Specification How to run A+ tests npm install cd test node A+.js