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

Tell us what’s happening:

what wrong with the code it couldn’t passed please try to solve

Your code so far

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

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

const sortSongs = () => {}

// 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/130.0.0.0 Safari/537.36

Challenge Information:

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

Test does not like the “const” in there.

It works if you follow this syntax https://www.w3schools.com/Js/js_arrow_function.asp

hello = () => {
  return "Hello World!";
}