Party Invitation | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Party Invitation

https://code.sololearn.com/WEeQLqAsWxEF/?ref=app I followed a video tutorial and can't find what's wrong with the code

10th Nov 2020, 9:04 PM
Boyan Ivanov
Boyan Ivanov - avatar
2 Respuestas
+ 4
Line 30 You have this return statement outside of a function. return people.filter(canComeToParty)
10th Nov 2020, 9:18 PM
ChaoticDawg
ChaoticDawg - avatar
0
thx i fixed it but why now instead of the specific names it returns objects
10th Nov 2020, 9:23 PM
Boyan Ivanov
Boyan Ivanov - avatar