function setname(obj){ obj.name="dasd"; console.log(obj) obj={name:"asdasd"}; console.log(obj) } var par={name:"abcdefg"}; setname(par) console.log(par.name)
添加回答
举报
0/150
提交
取消