I noticed prototype.js got "patched" to correct the assignment-on-
return issue in v8.

  function getCacheForID(id) {
          return cache[id] = cache[id] || { }; // fails in v8

// patch around v8:
//       cache[id] = cache[id] || { };
//       return cache[id];
  }


The original bug says it was fixed in v8-bleeding r117, but it's still
broken in v8 trunk.


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

Reply via email to