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 Answer
+ 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