re: The shortest way to conditional insert properties into an object literal VIEW POST

re: I completely disagree because lot of JS syntax and features need an explaination. Think about coercion, generators, arrow functions, async await, t...

I don't criticize the use of idiomatic code (I often use it, too) but the emphasis on the shortest way.
It seems to encourage the writing of compact or idiomatic code at any cost, and it is not always the best choice.
As with natural language, if you use very strict jargon, you reduce the number of people who are able to understand it with little effort.

The shortest way means only one thing: fewer characters are required.
The second part you deduced is your personal interpretation of the title, which obviously does not reflect my thinking at all.

Maybe you're right. Sorry for any misunderstanding.

No problems 😃!

See you at the DevFest, with peaceful intentions of course 😝

I've never had any non-peaceful intentions :-)
See you at the DevFest!

Code of Conduct Report abuse