medikoo / deferred

Modular and fast Promises implementation for JavaScript
ISC License
364 stars 20 forks source link

In extensions that return functions return them with correct length #43

Open medikoo opened 8 years ago

medikoo commented 8 years ago

Currently we have:

var input = function (x, y) {};

input.length; // 2
deferred.gate(function (x, y) {}).length; // 0