Resolved: practise exam question 3 doubt
why is the first option wrong here ?
2 answers ( 2 marked as helpful)
Hi Prashant!
Thanks for reaching out!
The first option leads to a syntax error - it's because the return
statement is written with an s in the end: returns.
Hope this helps.
Best,
Ivan
@ivan oh man! yea I just realised. Thanks for answering back. I'll have to be more careful next time :)