日期:2014-05-16  浏览次数:20311 次

js中的引用
对于修改对象而生成新的对象

var itemA="String";
var itemB=itemA;
var itemA+=itemA;


此时,itemA 和itemB 是指向不同对象的引用。