标签: javascript assignment-operator operator-precedence
我有这种结构
let a = {x: 1} let b = a a.x = a = {y: 2}
您如何详细解释我如何获得这些结果?
a.x = undefined a={y: 2} b={x: {y: 2}}