Status: New
Owner: ----

New issue 279 by [email protected]: new array literals inside object  
literals returned from body of a function are recycled
http://code.google.com/p/v8/issues/detail?id=279

The following code works properly in tr...@1458, but fails on
bleeding_e...@1510.


function makeObj() {
   return { foo: [] };
}

var a = makeObj();
a.foo.push(5);

var b = makeObj();

assertTrue(b.foo.length == 0);



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to