From d47a18f5a0eb3e07de3c3b5a757cb2083f8bc4ff Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 29 Jun 2022 14:23:12 +0300 Subject: [PATCH] tweaks and cleanup... Signed-off-by: Alex A. Naanou --- object.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/object.js b/object.js index d235bc8..736a5bb 100755 --- a/object.js +++ b/object.js @@ -491,10 +491,12 @@ function(func){ //--------------------------------------------------------------------- // Prototype chain content access... +// XXX EXPEREMENTAL... +// should we support multple names??? // XXX var _sources = module._sources = -function*(obj, name){ +function*(obj, name=undefined){ while(obj != null){ if(name === undefined || obj.hasOwnProperty(name)