The Structured Clone Wars

Jason Orendorff jason.orendorff at gmail.com
Fri Jul 15 09:34:21 PDT 2011


On Fri, Jul 15, 2011 at 10:22 AM, Allen Wirfs-Brock
<allen at wirfs-brock.com> wrote:
> What happens when cloning an object  that is an "Object object" whose
> [[Prototype]] is not Object.prototype?

The original object's [[Prototype]] is entirely ignored.

During deserialization, the target global's initial Object.prototype
object is used as the new object's [[Prototype]].

-j


More information about the es-discuss mailing list