Record Collection - deep blue mind

I really don’t understand what happened in that code. I just copied the solution and pasted it because that solution or any, would never have occurred to me. What happened there, I’ve tried to understand it by myself but no…what’s all that?

Hello there.

Could you be specific as to what you are referring to? If you are referring to an fCC challenge, please use the Get Help button on the specific question, as this will create a pre-populated post in the correct sub-forum.

The more information you give us, the more likely we are able to help.

As @Sky020 says you need to be a lot more specific about what you don’t get about it, but w/r/t that particular challenge, it’s basically the first one that says “you’ve been taught everything you need to do this task, now demonstrate it” - it requires applying a few different [very basic] fundamentals, instead of just one (this is why it is hard if you are a beginner). The description also specifies the exact steps required, so it is also a fairly good test of ability to translate plain English » JavaScript.