var a = {
b: null,
c: null
};
a.b = a;
a.c = a.c;
function judge (obj){
for(let i in obj){
if(typeof obj[i] === 'object' && obj === obj[i]){
return true
}
}
return false
}
var a = {
b: null,
c: null
};
a.b = a;
a.c = a.c;
function judge (obj){
for(let i in obj){
if(typeof obj[i] === 'object' && obj === obj[i]){
return true
}
}
return false
}