Learn Basic String and Array Methods by Building a Music Player - Step 17

Tell us what’s happening:

I saw solution from other people’s previously asked doubts but I don’t get it.

Your code so far

<!-- file: index.html -->

/* file: script.js */
// User Editable Region

const renderSongs = [] => {};

// User Editable Region
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Learn Basic String and Array Methods by Building a Music Player - Step 17

Hi there!

What kind of doubt have you been about it.?

I didn’t understood if I needed to pass ‘array’ as parameter or’[ ]’

You didn’t need the actual array [], you need a parameter name called array

yes I got it right now. I think I didn’t understood the language of the assignment. I hope I don’t make such silly mistakes again. Thanks a lot for your time :slight_smile:

1 Like