Re:Statements vs. Expressions
by lmm on Thursday July 14, 2022 @06:40AM
(#32094216)
Some languages forbid "obviously pure" expressions like "0" as statements (since using them as a statement is probably a mistake).
[ Parent
| on HN ]
I think I was saying that Javascript is not one of them.
Interesting! Any examples of such languages?