promise.then always returns a promise. Naturally, this works with numbers, strings and any old value: delay(1000) .then(function() { return ...
確定! 回上一頁