jQuery.extend is not a copy for Object!!!
jQuery.extend is not a copy for Object!!!
var A = {
info:{
name:'a'
}
};
var B = extend({}, A);
B.info.name='b';
console.log(A); // A.info.name is change to b
Topic Participants
hanjiapei
jakecigar