setTimeout(function () { !error ? ret.callback(num + add, num + prev) : ret.errback("ERROR"); }, timeout || 0);
setTimeout(function () { !error ? ret.callback(num + add) : ret.errback("ERROR"); }, timeout);