There are different stages of the challenge before this one which ive gotten through but this part has me stumped. The hint says it need debugging.
I really dont have a clue what the above is supposed to do. Im not asking for anyone to solve it for me, just a pointer.
Ive googled the functions and im still getting nowhere.