Dimitris Papadimitriou
1 min readMay 21, 2019

--

I think you are right about Thenable Promise implementation, but i am talking about this specific extension of the promise with the specific Bind method :

this.bind = function(func) {

return new Promise(function(resolve) {

this.then(result => func(result) .then(x => resolve(x)))

});

}

I think this method does conform to the laws. But i might be missing something.

--

--

Dimitris Papadimitriou
Dimitris Papadimitriou

No responses yet