Skip to content

Instantly share code, notes, and snippets.

Tim Jacobi timjacobi

Block or report user

Report or block timjacobi

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
View bumpme
Mon May 9 15:36:45 UTC 2016
timjacobi / promise.js
Last active May 18, 2018
Promise Kata
View promise.js
// Implementation
class Promise {}
// Test Code
const adapter = {
deferred() {
const pending = {};
pending.promise = new Promise((resolver, reject) => {
pending.resolve = resolver;
pending.reject = reject;
You can’t perform that action at this time.