Message from JavaScript discussions

May 2017

— It is a rule of arithmetic operators in JS

— 

With normal statements, it does this:

(console.log("hello"), console.log("world"));
VM141:1 hello
VM141:1 world

— Https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comma_Operator

— It turns out I am mistaken and the normal rule does not apply as the operations are seperate statements

Message permanent page

— Yes

— The comma essentially makes it similar to a do construct used in lisp like languages.

— Yup

— 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

— Perfect

— Kek, obfuscation is easy to reverse engineer in JS