let's say I have two lists:
1- originalList
2- copiedList
I need to compare my copiedList to originalList. After the first assignment that I'm already doing, I have to check if something happens in the originalList and do the same in the copiedList. I mean if one or more elements get deleted in the originalList I need to do the same with the copiedList(obviously at the same index), or if new elements are added, I need to add them in the copiedList too.
How can I do it in Typescript / Javascript?
Thanks a lot
question from:
https://stackoverflow.com/questions/65857394/how-to-compare-two-lists-in-typescript 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…