Implement promise with the following functionalities: constructor, then, resolve asynchronously, chainable then. 0Reply