var obj = { name : 'zhl', age : 30 } var obj2 = JSON.parse(JSON.stringify(obj)); obj2.age = 40; console.log(obj.age); //30