JavaScript Algorithms and Data Structures (Beta)

Im going back and catching things up because I skipped the current curriclum if I covered it in the legacy challenges before the switch. So I`m getting to the shopping cart, platformer game and dice game and it seems to go from a step by step format to writing complex coding at length, Just wondering if anyone else had this experience as I can solve JS challenges fairly easy but still struggling with writing an entire function with a lot of logic.

Yes that is, I believe, an accurate observation.

Question;
What does it mean to log the pushed variable?

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.