Crie JavaScript de referência circular
function Foo() {
this.abc = "Hello";
this.circular = this;
}
var foo = new Foo();
Homeless Herring
function Foo() {
this.abc = "Hello";
this.circular = this;
}
var foo = new Foo();