Post is deleted, for a reason
With that said, assuming it’s an “open-book” test, you can look up anything unfamiliar on MDN.
You could throw in some console.log statements and run the code to see what is happening at various places. This could help you understand the flow of the code.
Why the second comment is inaccurate?
@Geek-Killer If you expect members to answer your questions in the future, I suggest not deleting the original content of the topic. You have now created a topic which has replies which are meaningless.
I flagged this post for moderators, so that they delete it. I do not have permission to delete the post, I didn’t have any other choice rather than leaving it obscure.
Why did you need to delete it?