From 4b8c8ac283cd2f5d04440f6087288119e11ffdfc Mon Sep 17 00:00:00 2001 From: MengZian <2476725205@qq.com> Date: Thu, 8 Jun 2023 21:04:55 +0800 Subject: [PATCH] 1686226515971,1686226584190 --- Bright.js | 13 ++++++++++--- DOMOperation.js | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Bright.js b/Bright.js index fd1e765..d2c92bc 100644 --- a/Bright.js +++ b/Bright.js @@ -1,6 +1,6 @@ /*! Bright.js -date 1686188991871 [Thu Jun 08 2023 09:49:51 GMT+0800 (China Standard Time)] +date 1686226515971 [Thu Jun 08 2023 20:15:15 GMT+0800 (China Standard Time)] (c) 2023 Bright_Leader Licensed under the Apache-2.0. */ @@ -921,7 +921,14 @@ const ArrayIteratorPrototype=new IterableIterator( /* http://262.ecma-internatio ArrayIterationKind_internalSlot in self ))throw "Incompatible object: missing required properties!"; let a_var; - if((a_var=self[IteratedObject_internalSlot])===undef)return new IteratorResult(undef,True); + if( + isPrimitive(a_var=self[IteratedObject_internalSlot]) /* +I take the liberty of checking whether this value is primitive +instead of whether it is undefined according to the specification. +Because this is not a real internal slot which is inaccessible to other codes, +we must take no matter how others will invoke this function into consideration. +*/ + )return new IteratorResult(undef,True); let index,itemKind,len; index=self[ArrayIteratorNextIndex_internalSlot]; itemKind=self[ArrayIterationKind_internalSlot]; @@ -1465,7 +1472,7 @@ mergeObject( temp0=tryES5CreateNullPrototypeObject(); temp0.author="Bright_Leader"; -temp0.date=1686188991871; +temp0.date=1686226515971; mergeObject( objectToExport, diff --git a/DOMOperation.js b/DOMOperation.js index a59b947..c8ad08b 100644 --- a/DOMOperation.js +++ b/DOMOperation.js @@ -1,11 +1,11 @@ /*! DOMOperation.js -date 1686210071353 [Thu Jun 08 2023 15:41:11 GMT+0800 (China Standard Time)] +date 1686226584190 [Thu Jun 08 2023 20:16:24 GMT+0800 (China Standard Time)] (c) 2023 Bright_Leader Licensed under the Apache-2.0. dependenc(y/ies): -- Bright.js date >= 1686188991871 +- Bright.js date >= 1686226515971 */ (function exportFunction(globalObject,factory){"use strict"; /* @@ -1834,7 +1834,7 @@ function sharedKeys(){ function sharedValues(){ return [ "Bright_Leader", - 1686210071353 + 1686226584190 ]; } -- GitLab