It turns out I am mistaken and the normal rule does not apply as the operations are seperate statements
— The comma essentially makes it similar to a do construct used in lisp like languages.
— My bad, I believe do has a special meaning in LISP as a loop construct. I meant like in Haskell.
— It does?
— This gives new methods of obfuscation in JS
— Kek, obfuscation is easy to reverse engineer in JS
— Ifs can also be entirely replaced by && and ||
— I do feel like the C-syntax is a bit clearer in this case though