Assuming that the comment you replied to was serious (rather than satire of the initial post or trolling), I believe that they were referring to JS allowing you to omit the {braces} when it's only a single statement. Perl allows if (condition) {statement;} (with braces) and statement if condition; (no braces with postfix conditional), but not if (condition) statement; (no braces with prefix conditional).
Actually JavaScript and most C like languages don't see the difference between if (<condition>) <statement> and if (<condition>) <block> because a <block> can go anywhere a <statement> can go. Interestingly, and the point of difference here is, Perl requires a <block> in many places where more Cish languages are happy with just a <statement>.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond