Why can't I call the eventExample function at the bottom of the code? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Why can't I call the eventExample function at the bottom of the code?

function main() { var eventExample = readLine(); // function call setReminder(eventExample) } //complete the function function setReminder(x) { console.log('You set a reminder about ' + x); }

21st Sep 2022, 4:47 PM
Ify Nonyelu
1 ответ
+ 1
There is no eventExample function? readLine() needs to go inside of the main() function for sololearn code tasks
21st Sep 2022, 5:14 PM
Lisa
Lisa - avatar