Re: The Structured Clone Wars

On Fri, Jul 15, 2011 at 10:22 AM, Allen Wirfs-Brock
<allen@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

Received on Friday, 15 July 2011 16:34:51 UTC