Skip to content

Unexpected token in expression #226

Closed Locked Answered by DayDun
survuvi asked this question in Q&A
May 21, 2023 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Now you removed the return from the first branch. This means the function won't return anything if x == 0, but it must return a string to match the function signature.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@DayDun
Comment options

@survuvi
Comment options

@DayDun
Comment options

Answer selected by survuvi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants