Skip to content

Instantly share code, notes, and snippets.

PradeepJaiswar PradeepJaiswar

Block or report user

Report or block PradeepJaiswar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@surajhell88
surajhell88 / README.md
Last active May 19, 2018
Simple Promise Implementation
View README.md

Simple Promise Implementation

A simple javascript implmentation of promise object. It isn't the best solution but does solve the given problem statement. The probable todo items/improvements would be to refer MDN doc for Promise

Listing a few here:

  1. .all(iterable)
  2. .reject(promiseInstance)
  3. .resolve(promiseInstance)
  4. .finally(callback)
You can’t perform that action at this time.