> statement if (condition);
> It's weird, but one can get used to it.
I think nobody mentioned it yet in this thread, but Perl allows you to write
CONDITION and STATEMENT
and I think it's even a C'ish idiom.
yep works in JS too
1 && console.log("yes")
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^2: why not listed foreach and if?
by LanX
in thread why not listed foreach and if?
by vincentaxhe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |