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

Tell us what’s happening:

Здравствуйте! Подскажите, пожалуйста, что делаю не так: printGreetingArrowFunction();

Your code so far

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

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

const printGreeting = () => {
  console.log('Hello there!'); 
}
 printGreetingArrowFunction();

// 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/126.0.0.0 YaBrowser/24.7.0.0 Safari/537.36

Challenge Information:

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

Hi there. Arrow functions are called the exact same way regular functions are. I hope that helps you.

Здравствуйте! у меня опять что-то не так, подскажите, пожалуйста const renderSongs = (array) => {};

Нашла другое решение, спасибо!

Please don’t hijack existing threads.