Skip to content

对象替换时删除条件优化#1

Open
skygongque wants to merge 3 commits into
DingZaiHub:masterfrom
skygongque:master
Open

对象替换时删除条件优化#1
skygongque wants to merge 3 commits into
DingZaiHub:masterfrom
skygongque:master

Conversation

@skygongque
Copy link
Copy Markdown

定义一个数组来记录出现的key,若对象中所有key对应的表达式都发生替换即appear_prop_list.length === objPropertiesList.length 才删除节点,避免有用对象误删

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant