Y
Hacker News
new
|
ask
|
show
|
jobs
by
da4c30ff
4004 days ago
3.5 Use object method shorthand.
I disagree. With anonymous objects it breaks the syntactical uniformity of the expression. I think it is much clearer when each field is given a name(and a value) the same way.