From ce441d7453617a1b23d5e6f5e368cc9c48cad34a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 2 Dec 2020 06:08:57 +0300 Subject: [PATCH] tweak... Signed-off-by: Alex A. Naanou --- Array.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Array.js b/Array.js index 01698c4..f485b93 100644 --- a/Array.js +++ b/Array.js @@ -459,8 +459,7 @@ object.Mixin('ArrayProtoMixin', 'soft', { // // XXX should this take an argument and be like map?? iter: function*(){ - for(var e of this){ - yield e } }, + yield* this }, // Stoppable iteration...