diff --git a/source b/source index cc8ed1e1713..6be25b7ca39 100644 --- a/source +++ b/source @@ -3022,8 +3022,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute @@toPrimitive, and @@toStringTag
Otherwise, if serialized.[[Type]] is "Array", then:
Let outputProto be the %ArrayPrototype% intrinsic object in - targetRealm.
Let outputProto be + targetRealm.[[Intrinsics]].[[%ArrayPrototype%]].
Set value to ! ArrayCreate(serialized.[[Length]], outputProto).
Let location be a new Location
platform
object.
Let valueOf be location's relevant + Realm.[[Intrinsics]].[[%ObjProto_valueOf%]].
Perform ! location.[[DefineOwnProperty]]("valueOf
", {
- [[Value]]: %ObjProto_valueOf%,
+ [[Value]]: valueOf,
[[Writable]]: false,
[[Enumerable]]: false,
[[Configurable]]: false }).