var a= '김도라에몽' var b = a a ='짱구' console.log('a:',a,'b',b) var c = { name: '김도라에몽'} var d = c c.name= '짱구' console.log(c,d)
console
a:짱구b김도라에몽 { name:"짱구" } { name:"짱구" }
짱구 김도라에몽ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 웃교
짱구 김도라에몽ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 웃교