Skip to content

Looks like the condition goes before function call in Livescript#5

Open
flyakite wants to merge 10 commits intoclkao:masterfrom
flyakite:master
Open

Looks like the condition goes before function call in Livescript#5
flyakite wants to merge 10 commits intoclkao:masterfrom
flyakite:master

Conversation

@flyakite
Copy link
Copy Markdown

I'm new to Livescript. A function call in a if-else condition like this could cause an unexpected behavior. How do I avoid this ambiguity in the future?

@vendethiel
Copy link
Copy Markdown

Using parenthesis, inversing the order, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants