Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

听说你会对象

$
0
0

var a = {n: 1} var b = a; a.x = a = {n: 2} console.log(a.x); console.log(b.x);

什么结果,,解释一下


Viewing all articles
Browse latest Browse all 14821

Trending Articles