Record Collection Bonfire bug?


I’ve been working on the Record Collection challenge all day and I’m not sure if it’s a bug or if I need to reset something on my computer.
I have all of the code correct. I’ve even watched code alongs on YouTube thinking I was doing something wrong.
But it never fails that the js console on the left-side of the FCC page only returns the var collection.

Does anyone have a solution for this?


I think you shouldn’t have changed the return statement (from return collection;). The first test fails because it’s expecting the entire records collection, but you’re only returning one record.


Aaaand thank you for correcting my numbed mind. It looks like I didn’t post all of my code either. I had been going through one record at a time in Atom. I forgot to change it back in FCC. Thanks again for your help.