From 8cabd4cdb3189e61590f390901faa9589fec43b6 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 3 Jan 2023 09:47:33 +0300 Subject: [PATCH] clarification.... Signed-off-by: Alex A. Naanou --- Promise.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Promise.js b/Promise.js index 5aa040d..550b226 100644 --- a/Promise.js +++ b/Promise.js @@ -319,9 +319,9 @@ object.Constructor('IterablePromise', Promise, { // ...the fist result seems odd... // XXX FIXED but need to add a test for IterablePromise branch below... // XXX BUG: - // await Promise.iter([1, Promise.all([2,3]), 4], 'raw') + // await Promise.iter([1, Promise.all([2,3]), [4,5]], 'raw') // .map(e => e*2) - // -> [1, NaN, 4] + // -> [1, NaN, NaN] // while: // await Promise.iter([1, Promise.all([2,3]), 4], 'raw') // -> [1, 2, 3, 4]