js的赋值是其实是赋的引用

赋引用

1 var tmpDeathInfoList = this.deathInfoList;
2 tmpDeathInfoList.splice(deleteIndex,deleteCount);

tmpDeathInfoList 处理其实是对this.deathInfoList的处理。

posted @ 2020-12-02 19:20  杨斌_济南  阅读(121)  评论(0编辑  收藏  举报