Open determin1st opened 4 years ago
How about:
if (true or
false) and
false
#----
console.log "foo"
else
console.log "bar"
if typeof! options.data in <[String URLSearchParams]>
Great, will use both!
You can use a backslash to ignore a newline:
if something? \
or something-else?
do-something!
For example, if you have some if:
It's rather long and with more indenting inside some function function with tabs/spaces... readability (of this line) should be broken, eventually..
On the other hand, having this javascript code:
looks better, right?
So, the question is how to go about long if's, how to indent them, space them, multiline them (in livescript ofc) or this is not possible/resonable/smart enough etc?