topic description
the output of the object is not the expected result
sources of topics and their own ideas
in daily programming
related codes
var obj = {"a" : 1};
var obj1 = {"b" : obj};
console.log(obj1);
console.log(obj);
obj.a = 3;
what result do you expect? What is the error message actually seen?
expected result: {b: {aburel}}. The actual output is shown in figure
.