From 10aa4403177dec0894fe88ca8cae05f2da6eb299 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 9 Jun 2022 22:49:43 +0300 Subject: [PATCH] docs... Signed-off-by: Alex A. Naanou --- Promise.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Promise.js b/Promise.js index 081e4f3..2367c5b 100644 --- a/Promise.js +++ b/Promise.js @@ -186,6 +186,7 @@ object.Constructor('IterablePromise', Promise, { // .includes(..) // .some(..) / .every(..) // .sort(..) + // XXX update this note... map: function(func){ return this.constructor(this, function(e){ @@ -359,8 +360,9 @@ object.Constructor('IterablePromise', Promise, { // // // handler(e) - // -> [value] + // -> [value, ..] // -> [] + // -> // // // NOTE: element index is unknowable until the full list is expanded