Question about Record Collection Instructions

There is a line missing from the list of instructions which is supposed to test if one of the records hasOwnProperty. Because this line is missing people are not doing that, and the test is failing because I think it is still checking for that instruction. I just went through this and watched an old video on youtube of this challenge being solved and in the video the instruction is there. Currently it is not.

There is not a missing line. That piece is part of this line:

If prop is tracks and value isn’t an empty string, add the value to the end of the album’s tracks array. You need to create this array first if the album does not have a tracks property.

The challenge has been updated, and copying old videos isn’t an effective approach to this challenge.

The old instruction makes more sense than the updated one.

The old instructions generated more questions than the new ones. The last line isn’t perfect, but the new instructions are better.

Copying a video isn’t what I was doing, I looked at the video for a more clear explanation why the solution is showing a part that isn’t clearly asked for.

This right here is part of the instructions. Is that not showing up on your computer?

I see it, but are we supposed to comprehend that only this far into the basics?

Yes. You should know how to create an array and check if a property does not exist.

See

and

if props is tracks but the album doesn’t have a tracks property, create an empty array and add value to it. Is wayyy more understandable.

I moved this into a separate thread so the OP thread is not hijacked anymore.


Like I said, the last line isn’t prefect. But the information isn’t “missing”. Its just not written in a way that’s clearest to you. I’m sure we’ll keep tweaking this line.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.