News for hackers. Stuff that matters.
Re:Rust for JavaScript Developers – Functions and Control Flow by conradludgate on Monday July 06, 2020 @02:25AM (#23745221)
It wouldn't work like that but if you made them else if and else branches respectively then yes it would. Each if/if else/else block as a whole is a single statement. But two if statements and a literal is three individual statements

There are no comments on this comment yet.