CODE CHALLENGES: INTERMEDIATE JAVASCRIPT - JustCoolStuff()

Hi all,

I have been stuck on this challenge for quit a while now and havent figured out how to finish it.
I figured out how to filter the items out, but apparently it’s not good enough to finish the task. There must be something wrong with the code, but exactly what?

In the console the outcome is: [Array(3)]
In Codecademy console the outcome is: [ [ ‘fruit-by-the-foot’, ‘skateboards’, ‘my room’ ] ]
I think the double [[]] are the problem for now passing the test, but how to remove them?

Link below:

Hope you can help me out, so I know what I did wrong instead of just looking up the solution :slight_smile:

Thanks!

.filter() returns an array, so why you would push this array into cool, i am not sure.

2 Likes