var obj={a:1} function a(obj) { obj={} obj.a=2}a(obj)
以上代码对obj执行函数a后,obj.a依旧等于1,为什么?
白衣染霜花
BIG阳
相关分类