create circular reference javascript code example
Example: create circular reference javascript
function Foo() {
this.abc = "Hello";
this.circular = this;
}
var foo = new Foo();
function Foo() {
this.abc = "Hello";
this.circular = this;
}
var foo = new Foo();