返回列表

连等\连续赋值表达式2

默认分类 2013/10/02 06:27

连等\连续赋值表达式2:

var elemData={};
var b = elemData;
elemData.events = elemData = function(){};
// b.events == elemData -> true; elemData.events - > undefined
elemData.events  = {};