Message from JavaScript discussions

September 2020

— You mean template literals?


Ye, better functional style one-liner🤤 my point was about higher levels of purism, but making tiny tests is fine..

— Should be

a = ...
b = ...
c = ...
console.log a, b, c

— But no const - progress🤤

— Did I already express my disgust for fn a, b, c? At least fn a b c

— Commas denote an instruction change!

— Like tsc's __spreadArray, it has a for in it like for (let a, let b; a < b; a++) or smth

— Nope man, it's an explicit list, may be omitted ofc

— I read fn a b c as fn(a, b, c) and fn a,b,c as fn([a, b, c])

— How do you read [a b c] then

— It's a list anyway, not an "instruction change".. one use-case is

funcA a, (funcB c, d)

— SyntaxError: unexpected token b in position 1:4