Tell us what’s happening:
Near fatal construction Accident has me learning to code at 50.
Award winning carpenter/artist
super noob coder… why am I still getting an empty Array?
You have defined the function compareTwo but you never actually call it inside the diffArray function. Which is probably a good thing because it will create an infinite recursion.
I like this answer much better, but I would like to understand where the infinite recursion mistake happened in my previous attempt, so I can better recognize such mistakes.