将天天看到的优秀的代码或者特别的实现,记录下来code
2019-2-18class
var a = {n: 1}; var b = a; a.x = a = {n: 2};
undefined,{n: 2}
a.x=b
{n:1,x:{n:2,x:{n:1,.....}} // 一直循环下去