This project is archived and is in readonly mode.

#1178 ✓wontfix
Rob Agar

Object.merge fails with circular dependencies

Reported by Rob Agar | February 23rd, 2011 @ 04:38 AM

Passing objects with mutual references to Object.merge() causes it to fail with the error "too much recursion".

var foo = {};
var bar = {foo: foo}; = bar;
Object.merge({}, foo);

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket