I have two arrays. I want to find the index of currentArr positions in originalArr. Both the arrays are updated on run time.
let currentArr= [[450, 30, "down"],[480, 60, "right"]]
let originalArr = [[510, 60, "right"],[480, 60, "right"],[450, 60, "down"],[450, 30, "down"], [450, 0, "right"]]
Can anyone pls help me with this?